Technically you are correct.
But actually the real winners were the extreme vote suppression tactics.
Without them trump would have lost clearly: read the extremely conservative estimates targeted mostly non-trump voters:
https://hartmannreport.com/p/trump-lost-vote-suppression-won...