Yeah foreign aid is about influence peddling and one can argue a lot better morally and more effective than having our military flexing its muscles around the planet. But yep politicians do screw it up.
People in general overestimate non-military spending and underestimate military spending. It is obscene how much we spend on that. Does it make us or the world any safer? Very very debatable. Live by the sword, die by the sword.