Mexico and the Netherlands qualified after they both beat South Korea and drew with Belgium before drawing with each other.
The Netherlands' five goals against South Korea put them top on goal difference.
Belgium could have qualified with a big win in their final game against South Korea, who were already out, but they only managed a draw and were eliminated.
Assistant referees: Lencie Fred (Vanuatu) Eric Schneider (Germany) Fourth official: John Toro Lendon (Colombia) This fixture was a repeat of the two teams' second match at the 1994 tournament, won by Belgium.
Assistant referees: Gennaro Mazzei (Italy) Emanuel Zammit (Malta) Fourth official: Ramesh Ramdhan (Trinidad and Tobago) Assistant referees: Eddie Foley (Ireland) Mohamed Al Musawi (Oman) Fourth official: Javier Castrilli (Argentina) Assistant referees: Jacek Pocięgiel (Poland) Yuri Dupanov (Belarus) Fourth official: Vitor Melo Pereira (Portugal) Assistant referees: Fernando Tresaco Garcia (Spain) Hussain Ghadanfari (Kuwait) Fourth official: Rune Pedersen (Norway) Assistant referees: Arnaldo Pinto (Brazil) Jorge Luis Arango (Colombia) Fourth official: Kim Milton Nielsen (Denmark)