He said the donations had been made in line with party protocols and has refused calls to return the money.
The motion of no confidence was put forward by the Conservatives, the largest opposition group in the Senedd (Welsh parliament).
Despite losing, Mr Gething does not have to step down as the vote is not binding, but it does put further pressure on the embattled leader.
He has made clear in the aftermath of the debate he will not resign as first minister and will continue in post.
Labour leader Sir Keir Starmer has given his backing to the party’s leader in Wales, telling reporters on the campaign trail Mr Gething was doing a “good job”.
Advertisement
Image: Vaughan Gething was elected first minister in March
‘Not a gimmick’
Introducing the motion tabled by his party, Welsh Conservative leader Andrew RT Davies said it was “not a gimmick”.
“This was talked of prior to the general election,” he said.
“It is about judgement, honesty and transparency.”
Leader of Plaid Cymru, the pro-independence party, denied the motion was “tribal party politics”.
“We must be different to Westminster, not only in words but in deeds too,” he said.
“Today, we, these benches, are acting in what we firmly believe in the interests of the people of Wales.”
Image: Vaughan Gething. Pic: Reuters
But chair of the Welsh Labour group in the Senedd, Vikki Howells, said the motion was “politics at its worst” and was a “cynical Tory gimmick”.
“With the Tory party tanking in the polls…it’s no wonder that they will do anything, anything at all to try and shift the spotlight from their own record of abject failure,” she said.
One Labour member, Joyce Watson, said the decision to hold the confidence vote on the eve of the D-Day anniversary was “disrespectful” to veterans.
Welsh Lib Dem leader Jane Dodds said she no longer had confidence in the first minister.
But she said she had “never voted in a vote of confidence here in the Senedd” and had in fact voted to confirm Mr Gething as first minister in March.
Follow Sky News on WhatsApp
Keep up with all the latest news from the UK and around the world by following Sky News
Responding to the debate, Wales’s first minister said he has “made and will continue to make mistakes”.
“It does hurt deeply when my intentions are questioned,” Mr Gething added.
“I will not shy away from scrutiny and challenge.”
He reiterated that all rules had been followed.
Speaking after the vote, Mr Gething said it was a “very disappointing afternoon”.
“To go into the Senedd for what is a transparent gimmick in the general election, led by the Welsh Conservatives, to go into a position where the ill-health in two of our members has affected the outcome of the vote,” he said.
“And as I said, on ill-health grounds, we have always paired. That means you even up people from one party to another.
“We did that for more than three months for the leader of the Welsh Conservatives.”
He said he was “proud” to be first minister of Wales.
“To serve and lead my country. That’s what I’ve done today. That’s what I’ll carry on doing,” he added.
As well as questions over donations, Mr Gething has in recent weeks faced accusations he misled the COVID Inquiry over deleted messages and sacked one of his ministers for allegedly leaking information to the media.
That former minister was one of two Labour members who were absent for the confidence vote.
Neither Hannah Blythyn nor former transport minister Lee Waters voted.
Plaid Cymru then withdrew from a cooperation deal they had with the Labour government in which the party lent its support on dozens of key policy areas.
It was a prescient and – as it turned out – incredibly optimistic sign off from Peter Mandelson after eight years as Chancellor of Manchester Metropolitan University.
“I hope I survive in my next job for at least half that period”, the Financial Times reported him as saying – with a smile.
As something of a serial sackee from government posts, we know Sir Keir Starmer was, to an extent, aware of the risks of appointing the ‘Prince of Darkness’ as his man in Washington.
But in his first interview since he gave the ambassador his marching orders, the prime minister said if he had “known then what I know now” then he would not have given him the job.
For many Labour MPs, this will do little to answer questions about the slips in political judgement that led Downing Street down this disastrous alleyway.
Like the rest of the world, Sir Keir Starmer did know of Lord Mandelson’s friendship with the paedophile Jeffrey Epstein when he sent him to Washington.
More on Peter Kyle
Related Topics:
The business secretary spelt out the reasoning for that over the weekend saying that the government judged it “worth the risk”.
Image: Keir Starmer welcomes Nato Secretary General Mark Rutte to Downing Street.
Pic: PA
This is somewhat problematic.
As you now have a government which – after being elected on the promise to restore high standards – appears to be admitting that previous indiscretions can be overlooked if the cause is important enough.
Package that up with other scandals that have resulted in departures – Louise Haigh, Tulip Siddiq, Angela Rayner – and you start to get a stink that becomes hard to shift.
But more than that, the events of the last week again demonstrate an apparent lack of ability in government to see round corners and deal with crises before they start knocking lumps out of the Prime Minister.
Please use Chrome browser for a more accessible video player
4:02
‘Had I known then, what I know now, I’d have never appointed him’ Starmer said.
Remember, for many the cardinal sin here was not necessarily the original appointment of Mandelson (while eyebrows were raised at the time, there was nowhere near the scale of outrage we’ve had in the last week with many career diplomats even agreeing the with logic of the choice) but the fact that Sir Keir walked into PMQs and gave the ambassador his full throated backing when it was becoming clear to many around Westminster that he simply wouldn’t be able to stay in post.
The explanation from Downing Street is essentially that a process was playing out, and you shouldn’t sack an ambassador based on a media enquiry alone.
But good process doesn’t always align with good politics.
Something this barrister-turned-politician may now be finding out the hard way.
Sir Keir Starmer will be “completely exonerated” over the scandal around Peter Mandelson’s relationship with disgraced financier Jeffrey Epstein, Gordon Brown has told Sky News.
The prime minister was forced to sack Lord Mandelson as the UK’s ambassador to the US last Thursday after details of the peer’s relationship with Epstein emerged in the media.
Emails between Lord Mandelson, a minister under Tony Blair and Mr Brown, and the convicted sex offender revealed that the ex-minister sent messages of support to Epstein even as the US financier faced jail for soliciting prostitution from a minor in 2008.
But Mr Brown told Sky News’ Darren McCaffreythat he believes the prime minister will be “completely exonerated” once “the record is out” on the matter.
The former prime minister said: “I don’t want to criticise Sir Keir Starmer’s judgement, because he faces very difficult decisions and we’re talking about a very narrow area for timing between a Tuesday and Thursday.
More from Politics
Image: Sir Keir Starmer with Lord Peter Mandelson
“I think once the record is out, Sir Keir Starmer will be completely exonerated.”
However, Mr Brown did admit that the situation “calls somewhat into his judgement”.
He said: “I think every government goes through difficulties. Probably 15 years ago, when I was in government, you’d be asking me questions about what had happened on a particular day.
“But this is not really in the end about personalities. In the end, it’s about the policies.
“If you ask people in the street, they might say, well, interesting story, terrible thing that happened to these girls, but also they will say, look what’s happening to my life at the moment, what’s happening to my community, what’s happening to my industry, what’s happening to the whole region.
Please use Chrome browser for a more accessible video player
1:48
The Prime Minister is facing serious questions over his appointment of Peter Mandelson as the US ambassador.
“I think we’ve got to think that politics is about changing people’s lives and making a difference in those areas where they want to do things.”
Sir Keir has insisted that Lord Mandelson went through a proper due diligence process before his appointment.
However, speaking publicly for the first time since he sacked Lord Mandelson on Thursday night, he said: “Had I known then what I know now, I’d have never appointed him.”
Sir Keir said he knew before Prime Minister’s Questions on Wednesday afternoon that Lord Mandelson had not yet answered questions from government officials, but was unaware of the contents of the messages that led to his sacking.
He said Lord Mandelson did not provide answers until “very late” on Wednesday, which was when he decided he had to be “removed”.