Africa did not generate enough wealth to purchase slaves.
You have it backwards,
The African kings SOLD slaves to raise funds to pay and equip their slave-catching armies.