Sure there's a thing called soft power. It's the exact reason that China has https://en.wikipedia.org/wiki/Belt_and_Road_Initiative
If an African nation has a resource that America wants, it could threaten to cut off the HIV/AIDS program or other aid. Now the USA has lost that tool.
I wonder if what did USAID in part of the public's eye was the branding. It was seen as "wealthy elite family scions give away tax dollars while engaging in identity politics". The BRI is pretty straightforward to understand, "we build infrastructure in other countries so we have control of those regions of other countries and practice building that stuff at home (critical)".