Germany s midfielder #07 Kai Havertz (2ndL) scores his team s second goal during the Qatar 2022 World Cup Group E football match between Costa Rica and Germany at the Al-Bayt Stadium in Al Khor, north of Doha on December 1, 2022. AFP
The four-time champions beat Costa Rica 4-2 Thursday but it wasn't enough to reach the round of 16. Japan's 2-1 victory over Spain in the other group game allowed both of those teams to advance instead, with the Japanese team finishing at the top of Group E.
``I was just in the changing room and as you can imagine, the disappointment is huge,'' Germany coach Hansi Flick said.
Playing as defending champions at the last World Cup, Germany also was knocked out in the group stage.
Germany, which lost to Japan in its opening match in Qatar, needed help from the other match in order to advance with a victory at Al Bayt Stadium, but things didn't go its way. If Spain had beaten Japan, the Germans would have finished second in the group.
It all started so well with Serge Gnabry putting Germany in front against Costa Rica with a 10th-minute header and Spain taking an early lead against Japan at the Khalifa International Stadium in Doha.
Both matches were turned upside down in the second half.
Yeltsin Tejeda evened the score in the 58th minute and Juan Vargas scrambled another in the 70th, putting Costa Rica ahead 2-1 and on target to advance at Spain's expense.
But Germany substitute Kai Havertz made it 2-2 three minutes later and then restored Germany's lead in the 85th. Another substitute, Niclas Fullkrug, added the fourth.
Japan finished at the top of Group E with six points, two more than both Spain and Germany. Spain progressed because of its better goal difference, with most of them coming from its opening 7-0 rout of Costa Rica, and will next face Morocco. Japan will take on Croatia.
Germany would have needed five more goals to match the Spanish tally.
The match was also notable because French referee Stephanie Frappart became the first woman to officiate a men's World Cup match.
Check the 2022 World Cup schedule and groups standings.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)