President Donald Trump defended his desire to end U.S. military engagement in the Middle East on Wednesday.

“GOING INTO THE MIDDLE EAST IS THE WORST DECISION EVER MADE IN THE HISTORY OF OUR COUNTRY!” Trump wrote in all-caps on Twitter, noting the United States spent $8 trillion dollars in the ongoing wars and subsequent security in the region.

“Thousands of our Great Soldiers have died or been badly wounded,” he wrote. “Millions of people have died on the other side.”

Trump argued the United States was drawn into invading Iraq by George W. Bush under a “disproven premise” of the threat of weapons of mass destruction.

“Now we are slowly & carefully bringing our great soldiers & military home,” he wrote. “Our focus is on the BIG PICTURE! THE USA IS GREATER THAN EVER BEFORE!”

President Trump has faced opposition from the foreign policy establishment in Washington for his efforts to remove troops from Iraq, Afghanistan, and Syria and bring them home.

“The stupid endless wars, for us, are ending,” he wrote on Twitter, defending his decision to move 50-100 troops away from the Turkish-Syrian border.

Trump announced plans to withdraw 7,000 troops from Afghanistan in December 2018 and in August he announced the withdrawal of over 5,000 troops.

Ideally, the president would like to reduce the number of troops in Afghanistan to 8,600 but peace talks with the Taliban blew up in September.

Speaking to reporters on Monday, Trump said he would continue to pursue an “end game” in the Middle East, despite criticism from both political parties.

“We’re willing to do what we have to do, but there has to be an end game,” Trump said. “And if you stay, it’s going to be the same thing. Eventually, you’re going to have to leave.”

Fighting between various groups that has been going on for hundreds of years. USA should never have been in Middle East. Moved our 50 soldiers out. Turkey MUST take over captured ISIS fighters that Europe refused to have returned. The stupid endless wars, for us, are ending! https://t.co/Fbcem9i55Z — Donald J. Trump (@realDonaldTrump) October 9, 2019