The Blues overcame Denmark thanks to a double from Kylian Mbappé.
After two victories, they are qualified for the 8th finals.
In the same group, Tunisia were surprised by Australia, who won 1-0.
The Tunisians will face France on Wednesday at 4 p.m.
In Group C, Argentina are reassured after their victory against Mexico, 2-0.
Failure for Saudi Arabia, which lost to Poland (2-0), with a first goal by Robert Lewandowski in the World Cup.