Trudeau got 39% of the vote in a five-way contest, the largest share by far of any of the competitors, and won a majority of the seats under the electoral system.

Le Pen got 35% in a two-way contest, meaning two thirds of the people voted for the other guy.  That is a decisive loss.