Mayor Bill de Blasio said Sunday that US Rep. Alexandria Ocasio-Cortez was wrong to have claimed the collapse of the Amazon deal would free up $3 billion to fix the city’s subways and hire more teachers.

During an appearance on NBC’s “Meet the Press,” de Blasio agreed when host Chuck Todd said that the tax breaks offered to Amazon weren’t “money you had over here. And it was going over there.”

“Correct,” de Blasio said.

He added: “And that $3 billion that would go back in tax incentives was only after we were getting the jobs and getting the revenue.”

To further drive home the point, Todd said, “There’s not $3 billion in money —”

“There’s no money — right,” de Blasio said.

The exchange came after Todd suggested there was a “factual divide” that kept Ocasio-Cortez (D-Bronx) from understanding “how this deal worked.”

He also played a video clip that showed her reacting on Thursday to Amazon’s cancellation of plans to build an office complex in Long Island City.

“If we were willing to give away $3 billion for this deal, we could invest those $3 billion in our district ourselves, if we wanted to. We could hire out more teachers. We can fix our subways. We can put a lot of people to work for that money, if we wanted to,” Ocasio-Cortez said at the time.

Her remarks prompted President Trump’s son Donald Trump Jr. to tweet: “Will someone please explain to me how it is possible for NYC to SPEND a $3 Billion tax break on anything? This is insanity.”

Several conservative websites also piled on, blasting Ocasio-Cortez for her “idiotic claim” and saying she “should retake basic math.”