Judging by a just-released poll from the Pew Research Center, U.S. President Donald Trump is heading to this week's Group of 20 meeting in Germany with a resounding global vote of no confidence.

Only 22 percent of more than 40,000 respondents from 37 countries had confidence in Trump doing the right thing regarding world affairs; 64 percent felt that way about Barack Obama at the end of his presidency. The only countries preferring Trump were Israel and Russia.

Nine out of 10 countries posting the biggest drops in confidence were U.S. treaty allies. Respondents in seven of them — including NATO members Italy, Germany and Spain — put greater confidence in Russian President Vladimir Putin than in Trump.