I'm not sure there's that much military aid to first world countries. Where there is like with Israel I think generally the US thinks it's strategically advantageous.
Egypt, on the other hand, has a huge fleet of tanks that they just keep in storage (at their own cost). They basically are taking the military aid in the hope that the US would help them should a war develop.