Of course they weren't charity, they were mutually beneficial. The entire point being that offering mutually beneficial deals would lead to reciprocation with more mutually beneficial deals, building a dependency on maintaining such mutual deals.
In the same way that the US and EU going to war or even just breaking off diplomatic ties is extremely unlikely to happen due to how much they have integrated with each other on the back of mutual benefit.