What do you mean "lost the majority vote"? More people voted for him than anyone else, and he got a majority of the electoral college.
Look up plurality vs majority.
Look up plurality vs majority.