The French president had accused African leaders of having "forgotten to say thank you" to France for its role in combating insurgencies in the Sahel region.