They’re getting a lot of foreign aid from the USA ... :-) ...
Israel GDP $291 Billion, aid from USA $3.1 Billion about 1% of GDP. Most of that money has to be spent on US made military hardware.