Javier Hernandez scored twice and missed a penalty as Mexico were eliminated from the Confederations Cup, despite a 2-1 win over basement boys Japan on Saturday.
Two headed goals in the second-half for the Manchester United striker helped secure the victory in Belo Horizonte, but Hernandez spurned the opportunity to claim a memorable hat-trick, after his injury-time spot-kick was saved by Japan goalkeeper Eiji Kawashima.
Mexico finish in third place in Group A with three points, behind Brazil and Italy who progress to the semi-finals, leaving Japan bottom of the table following three defeats from three games.
After a poor first half which lacked any real creativity from either side, the deadlock was broken in the 54th minute, when Andres Guardado's left-wing cross was met by Hernandez at the near post.
The 25-year-old then grabbed his and Mexico's second 12 minutes later, peeling off his defender to connect with Giovani Dos Santos's corner kick.
Japan pulled a goal back with just five minutes left on the clock, when Yasuhito Endo's first-time pass was tapped in from close-range by Shinji Okazaki off the underside of the crossbar, making for a nervy finish.
Then, in the first of five minutes added on time, Mexico were awarded a penalty, after Hernandez went down under a clumsy challenge from Atsuto Uschida.
He dusted himself off and stepped up to take the spot-kick, but was twice denied by Kawashima, who guessed correctly saving down to his right, before diverting the rebounded effort over the bar.
Watch goal highlights from Mexico's 2-1 win over Japan in the first video below, then scroll down to watch Javier Hernandez's injury-time penalty miss!