The German national team failed to leave the group at the World Cup in Qatar.
In the third match of Group "E," the Germans beat Costa Rica - 4:2. For Germany, Serge Gnabry (10), Kai Havertz (73, 85) and Niklas Füllkrug (90) scored, while Costa Rica's Yeltsin Tejeda (58) and Juan Pablo Vargas (70) scored.
But as Japan defeated Spain 2-1 in the parallel match, the Germans, with 4 points, were second on goal difference to the Spaniards (6-5 vs. 9-3). First place went to the Japanese (6) and fourth to the Costa Ricans (3).