He won 49% of the votes cast. He did not get a majority, but a plurality. The turnout was ~64%, so he got ~30% of the possible votes. His main opponent got about ~28% of the possible votes.
He doesn't have the mandate he thinks he does, but he's a megalomaniac led by his nose ring by the psycopathic megalomaniacs behind Project 2025, which ~90% (more?) of Americans said that they didn't like when they saw it.