Sen. Joe BidenJoseph (Joe) Robinette BidenDemocrats will need to explain if they shut government down over illegal immigration Trump thinks he could easily beat Sanders in 2020 match-up: report Biden marks MLK Day: Americans are 'living through a battle for the soul of this nation' MORE (D-Del.) had it right when he said that a President Barack Obama would soon be tested by an international crisis, John McCainJohn Sidney McCainMcCain rips Trump for attacks on press NSA spying program overcomes key Senate hurdle Meghan McCain says her father regrets opposition to MLK Day MORE said today on CNBC.

"Senator Biden had it right. This is an untested individual who has been wrong on the things he's been tested about," McCain told CNBC's Maria Bartilomo in a live interview today.

The McCain camp has used Biden's comment, made at a Seattle funraiser Oct. 19, to depict Obama as inexperienced and unready to serve as commander in chief. After the comment was reported, McCain has repeatedly said that "we don't want a president who invites testing" from America's enemies, and the campaign has featured Biden's comment in a TV ad.

McCain also said that he "couldn't have said it myself first" because of potential backlash.

"If [Alaska Gov.] Sarah [Palin (R)] or I had said that, can you imagine the reacion? Scaring Americans, etc.," McCain said. "So I agree with Joe Biden. I couldn't have said it myself first, but he's right."