Not all. A good chunk of it is aimed, with some success, at making foreign governments more willing to let us use their soil for our military and intel operations, and more willing to share their own intel with us.
why give money to countries who hate us and they line their own pockets.