"I have so many friends going to your countries, trying to get rich, I congratulate you," President Donald Trump told a group of African leaders.