News flash, Billy. The real war is Iran vs
Saudi (loosely meaning Shia vs Sunni).
Israel, Saudi Arabia, UAE, Egypt, Jordan are all sort of sane - or at least not theocracies run by Islamist fundamentalists.
Iran is the problem. So all those countries, including Israel are loose allies and help each other out.