If you’re running for president backed by one of the two parties, you’re a fortunate son.
You’re buying into an underdog narrative that doesn't match with the facts. Also the media may have been “against” him but they gave him thousands of hours of free coverage. “Big tech” may have been against him, but they handed him his platform in the first place.