Four-time champions Germany have been knocked out of the 2022 FIFA World Cup in group stage despite winning their last Group E match against Costa Rica 4-2. Japan and Spain qualified for the last 16 from Group E after Japan defeated Spain 2-1. Japan topped the group, while Spain finished second having better goal difference than Germany.