Surely a significant benefit of foreign aid (to the donor) is political leverage over the recipient country?
A significant part of the aid is also for benefit to US corporations, where the US grants aid to countries specifically to buy products from US corporations, especially weapons, pharmaceuticals and farm products. Plus there is medical aid to stop outbreaks of diseases before they can spread to the rest of the world.