Ivory Coast secured a last-16 spot in the Africa Cup of Nations as Arsenal target Wilfried Zaha impressed in a 4-1 Group D win over Namibia.
The Elephants went down to a 1-0 defeat against Morocco last time out and began poorly at 30 June Stadium.
Peter Shalulile should have put Namibia in front and was given a lesson in clinical finishing from Max Gradel six minutes from half-time.
Serey Die - captaining Ivory Coast in Serge Aurier's injury absence - saw a deflected effort find the net in the 58th minute and his team progressed as runners-up behind Morocco, despite Joslin Kamatuka getting on the scoresheet for the Brave Warriors, after Zaha marked his first start of the tournament with a fine solo effort.