Former Wyoming Congresswoman Liz Cheney has found common ground with former President Trump, who she previously voted to impeach, as they both oppose President Biden’s latest move in Israel.

On Wednesday, the anti-Trump Republican said withholding aid from America’s closest ally in the Middle East "wrong and dangerous." The comment came just hours apart from Trump tweeting that Biden was helping the Hamas terror group and "taking the side of these terrorists."

"Withholding aid to Israel is wrong and dangerous. America must not abandon Israel. Doing so would mean victory for Iran and all its terrorist allies," she wrote.

Both Republicans chided Biden after he vowed to withhold weapons from Israel if Israeli Prime Minister Benjamin Netanyahu goes forward with an invasion of Rafah, the last stronghold for Hamas in Gaza.

TRUMP RESPONDS TO JUDGE WHO THREATENED TO TOSS HIM IN JAIL OVER GAG ORDER: 'GIVE ME LIBERTY OR GIVE ME DEATH'

Liz Cheney, Trump

Former President Trump and former Rep. Liz Cheney both criticized President Biden on social media over his announcement that the U.S. would withhold support from Israel should its armed forces launch a major invasion into Rafah. (Brandon Bell, Patrick T. Fallon/AFP via Getty Images)

Cheney’s public criticism of Biden comes amid his re-election rematch with Trump, who has called Biden "weak" and said his foreign policies were "leading the world straight into World War III."

In Trump’s own post, he reminded Biden about Hamas’ terror attack on Israeli border communities on Oct. 7, when 1,200 people were killed, making it the deadliest terror attack in Israel’s history.

BIDEN VOWS TO WITHHOLD WEAPONS FROM ISRAEL IF NETANYAHU GOES FORWARD WITH RAFAH INVASION

"Crooked Joe Biden, whether he knows it or not, just said he will withhold weapons from Israel as they fight to eradicate Hamas Terrorists in Gaza. Hamas murdered thousands of innocent civilians, including babies, and are still holding Americans hostage, if the hostages are still alive," Trump wrote. "Yet Crooked Joe is taking the side of these terrorists, just like he has sided with the Radical Mobs taking over our college campuses, because his donors are funding them."

President Joe Biden

President Biden arrives to board Air Force One at Joint Base Andrews in Maryland, on Aug. 15, 2023. (Andrew Caballero-Reynolds/AFP via Getty Images)

He added: "Biden is weak, corrupt, and leading the world straight into World War III. Remember - this war in Israel, just like the war in Ukraine, would have NEVER started if I was in the White House. But very soon, we will be back, and once again demanding peace through strength!"

WITH CHENEY OUT, TRUMP HAS PURGED MOST PRO-IMPEACHMENT HOUSE REPUBLICANS FROM GOP

Cheney, the daughter of former Vice President Dick Cheney, was an ally of Trump's at times when he was in office and ascended to chair of the House Republican Conference.

Liz Cheney

Former Rep. Liz Cheney was one of several Republicans who failed to keep their seat in Congress after opposing Trump. (AP Photo/J. Scott Applewhite, File)

She then vehemently opposed him after Biden defeated Trump in the 2020 election. She further angered Republicans when she joined the Jan. 6 House Select Committee that investigated the events surrounding the 2021 Capitol riot.

CLICK HERE TO GET THE FOX NEWS APP

Upon the Jan. 6 committee, Cheney recommended and ultimately voted to impeach Trump.

As a result, she was defeated in a landslide in her GOP primary race for Wyoming's at-large congressional seat in 2022.