You also have to consider the incredible headwinds facing him in that election. Despite the disastrous end of his first term, his attempted coup, the numerous felony convictions and criminal charges, he not only won the election but expanded his coalition with previously left and liberal demographics. Either he was incredibly skilled at political maneuvering and mass appeal or he was fantastically lucky.
Even putting all that aside though, Trump has numerous aces up his sleeves that would turn the tide in his favor. It only take one terrorist attack, whether by Muslims or antifa activists, to turn his entire career around. Then again, successfully preventing such an attack would have the same effect. Passing the SAVE act would guarantee that the GOP wins the midterms and indeed all elections for the foreseeable future. There are just so many opportunities for him to avoid defeat that he would have to make nothing but terrible mistakes from here on out to lose.