A tournament that started with a history-making defeat to Namibia ends at the group stage for the Eagles of Carthage, who created very little in what was a must-win game.
Haythem Jouini headed over the bar in the dying embers but that proved about the only clear-cut chance the 2004 winners could create.
It was a cagey contest in the sweltering heat of Korhogo, though South Africa twice crafted good opportunities through both Evidence Makgopa and Thapelo Morena.
Jalel Kadri’s side were the third-highest ranked side heading into this year’s AFCON behind holders Senegal and 2022 World Cup semi-finalists Morocco but mustered only two points. They, along with Ghana and Algeria, fall at the first hurdle.
Bafana Bafana proved resolute throughout and follow Mali in the knockout stages of the tournament, while Namibia join as one of the best third-placed teams.