It is difficult to believe this needs to be said, but the United States was not about to go to war with North Korea in the final days of Barack Obama’s presidency.

While most Americans are well-aware of this fact, Donald Trump made rewriting very recent history his first priority on Wednesday as he returned to Washington from a summit meeting in Singapore with North Korea’s hereditary dictator, Kim Jong-un, and fired off a series of tweets.

Shortly after Air Force One landed, Trump tweeted that the declaration signed by Kim, reaffirming a vague commitment made 25 years ago by his grandfather, Kim Il-sung, “to work toward complete denuclearization of the Korean Peninsula,” meant that Americans were “much safer than the day I took office.”

There is no doubt that the world is a safer place now that Trump has decided to stop threatening to “totally destroy North Korea” and pursue an arms control agreement instead. But his claim that the mission was already accomplished in Singapore is like spiking the football when you are still 90 yards from the end zone, as journalists like Mathieu von Rohr of Der Spiegel observed.

As the day wore on, and observers questioned the president’s claim that “There is no longer a Nuclear Threat from North Korea,” Trump upped the ante by claiming in a subsequent tweet that before he took office, Americans “were assuming that we were going to War with North Korea.”

In fact, the widespread fear over possible war with North Korea began just 10 months ago, after Trump took office and unleashed a stream of belligerent rhetoric, taunting Kim and threatening a preemptive nuclear attack.

Fears spiked in January when Victor Cha, Trump’s pick for U.S. ambassador to South Korea, revealed in a Washington Post opinion piece that the White House was seriously considering a military strike on North Korea — a risky plan intended to give Kim’s regime “a bloody nose.”

As Mira Rapp-Hooper, a senior fellow at Yale Law School’s Paul Tsai China Center, observed, Trump’s tweet was a blatant effort to mislead the public about which president brought America to the brink of war.

Michael Fuchs, a former deputy assistant secretary of state for East Asia, argued that Trump hardly deserved credit for embracing diplomacy only after he needlessly threatened war.

Miffed by news coverage that correctly pointed out how premature the president’s celebration of peace in our time seemed to be, Trump later tweeted that reporters for CNN and NBC were “fighting hard to downplay the deal with North Korea.”

At the very start of his term, Trump claimed, those same reporters “would have ‘begged’ for this deal,” because, he claimed, it “looked like war would break out.”

Fox News aided Trump in his attempt to gaslight the American public about who was to blame for tensions with North Korea, and what the president had achieved in Singapore. After the summit, Sean Hannity claimed, repeatedly, that the talks in Singapore meant that the “complete, verifiable, irreversible denuclearization of the entire Korean peninsula” was already underway.

When Hannity incorrectly described the joint declaration with Kim to Trump as an agreement for the “complete, verifiable, irreversible denuclearization of the entire Korean peninsula,” the president responded, “True, and so without that we could not have had a deal.”

As William Saletan argued in Slate, Trump’s post-summit strategy seems to be based on lying to American voters, with help from Fox, by passing off talks that achieved nothing concrete as a huge breakthrough for peace. “Trump is indeed a skilled salesman, and his presentation of the new U.S.–North Korean denuclearization agreement is a fine sales job,” Saletan wrote. “But the target of that sales job isn’t Kim. It’s you. Trump and Kim are working together to pass off their toothless pact as a milestone. It’s a con, and you’re the mark.”