“Israel has been the largest cumulative recipient of U.S. foreign aid since its founding, receiving about $300 billion (adjusted for inflation) in total economic and military assistance.”
That’s the beauty of asymmetric warfare, you can cost your enemy a lot with far fewer resources. Iran still sucks for sending this money, but until Israel changes conditions for regular Palestinians they’ll face violence with or without that money coming in.