Following that, they lost to Germany (1998), United States (2002), Argentina (2006 and 2010), Netherlands (2014) and this time to Brazil. Willlian's ball beat Mexican goalkeeper Guillermo Ochoa and Jesus, but not Neymar, who was there to score his team's first goal.
But they couldn't find a way to stop Neymar, who has scored two goals in four matches in Russian Federation.More news: Neymar leads Brazil into seventh straight quarterfinal
The game was done and dusted and so was Mexico's World Cup.
Moments later, with the referee finding no fault by Layun in the incident, Neymar was back on his feet and running perfectly.
They did have plenty of chances early on, and it was only after a largely frustrating first half for Brazil that Neymar started the move to put his side ahead.
Brazil boss Tite also came to Neymar's defence after the match, calling his No. 10 "agile" and "fast" while asking journalists: "Is it wrong to feign, to provoke the players in the last third?" This could've been another of them if it hadn't been for Ochoa who, just like four years ago, kept denying nearly every Brazilian on the pitch.
After a scoreless first half, El Tri conceded its first goal in the 51st minute of the match before Brazil scored again in the 88th minute, ensuring that there would be no way for Mexico to force a draw and extend the match into extra time.More news: Prime Day returns on July 16th, deals are starting now
Reaction: Neymar scared by a ghost?"This is a strong sport, a man's sport and I think there shouldn't be so much acting".
'Unfortunately it's a shame we wasted so much time for one player. This was similar to the performances against Costa Rica and Serbia last week when they did just about enough to win.
Brazil Player Ratings: How did Philippe Coutinho, Neymar and co get on against Mexico?
Eventually, he got up and got even, setting up a Roberto Firmino goal to seal Brazil's spot in the quarterfinals.
Bidding for a record-extending sixth title in Russia, Brazil weathered an early storm at Samara Arena before Neymar turned on the style to underline their status as favourites. "We were maybe not very efficient and we didn't have that extra quality that they had coming to our goal".More news: NBA Draft 2018: Who Are The Biggest Winners And Losers?