United States Sen. John McCain on Sunday lambasted President Obama for his remarks about the Israeli prime minister's election campaign, saying, "Bibi’s rhetoric concerning an election campaign pales in comparison as to the threat, the direct threat to the United States of America of ISIS."

McCain accused Obama of letting his personal dislike of Netanyahu get in the way of focusing on real threats to the Middle East and the U.S.

"The President should get over it," McCain told CNN's Gloria Borger on "State of the Union."

"Get over your temper tantrum, Mr. President," the Republican lawmaker from Arizona said.

"It's time that we work together with our Israeli friends and try to stem this tide of ISIS and Iranian movement throughout the region, which is threatening the very fabric of the region," he continued.

"The president has his priorities so screwed up that it's unbelievable," McCain said.

Obama recently told the Huffington Post that the administration takes Netanyahu "at his word when he said that it wouldn't happen during his prime ministership," adding that the White House wants to explore other options to make sure "that we don't see a chaotic situation in the region."

As for Netanyahu's remarks about Arab voters going to the polls "in droves," Obama said, "We indicated that that kind of rhetoric was contrary to what is the best of Israel's traditions."

Obama continued, "Although Israel was founded based on the historic Jewish homeland and the need to have a Jewish homeland, Israeli democracy has been premised on everybody in the country being treated equally and fairly. And I think that that is what's best about Israeli democracy. If that is lost, then I think that not only does it give ammunition to folks who don't believe in a Jewish state, but it also I think starts to erode the meaning of democracy in the country."

McCain, meanwhile, brushed off Netanyahu's campaign comments, saying, “politicians make statements.”

He told CNN that Obama should not be considering backing a UN resolution calling for the creation of a Palestinian state.

"If he does that, then -- and it would be approved by the UN, then the United States Congress would have to examine our funding for the United Nations," McCain said.

"It would be a violation because of the president's anger over a statement by Bibi, by the prime minister of Israel. It would contradict American policy for the last at least 10 presidents of the United States."

