Brazil outclassed Scotland 3-0 on Wednesday night in Miami to claim Group C at the 2026 World Cup. Carlo Ancelotti's men started the final round of games in pole position following their 3-0 win over Haiti on 19 June while Morocco edged past Scotland 1-0.
And Brazil left Scotland no space for heroics. Vinicius Junior struck twice in the first half and Matheus Cunha added the third on the hour mark.
In Atlanta, Morocco had to come from behind twice to secure their 4-2 win over Haiti.
Morocco goalkeeper Bono scored an own-goal to give Haiti the lead and a flurry of goals in the last 10 minutes of the half left the score tied at 2-2.
Soufiane Rahimi put Morocco ahead for the first time in the 78th minute and Rahimi turned provider in the closing stages by setting up substitute Gessime Yassine for his side's fourth goal.
Brazil to face runner-up from Group F
The results mean that Brazil will play their last 32 game against whoever finishes second in Group F out of Netherlands, Japan and Sweden in Houston on 29 June.
Morocco will take on the side that tops Group F on the same day in Monterrey.
"It was a crazy game, too many goals but we are really delighted to qualify for the next round and now we have to keep going," said Morocco captain Achraf Hakimi.
"Haiti were already out of the competition but showed great spirit and made us suffer but in the end we did it."
Swiss outwit co-hosts Canada
In Group B on Wednesday, Switzerland claimed top spot following a 2-1 win over Canada in Vancouver.
Ruben Vargas and Johan Manzambi were on target for the Swiss who started the day in second place.
Though Canada substitute Promise David halved the deficit with 15 minutes remaining, Canada could not find the equaliser that would have given them the group.
Instead, they finished second on four points and in the last 32 will play the Group A runners-up South Africa in Los Angeles on Sunday.
Switzerland will remain in Vancouver and take on one of the best third-placed teams on 2 July.