You should be extremely naive to think that this pact is meant to fight against Israel.
And even if you think this pact is meant for reducing the dependence of any of its parties on the US, that's even worse. It is simply unrealistic and delusional.
Iran should sign a deal with the United States and normalize its relations with Israel at least covertly, like Saudi Arabia has already done so, and Turkey has been quite friendly to Israel for decades already, then we should throw Arabs under the bus, and end the war with Israel. That will resolve the main obstacle between permanent peace with the United States. If not, the US and Israel will continue to encircle Iran through their NATO ally, Turkey, and their regional proxies, i.e. Pakistan and Saudi Arabia.
Let's not forget that Turkey paved the way for attacking Iran by overthrowing Assad, which happened behind the scenes with the blessing of Russia. Soon, Turkey and Saudi Arabia will interfere in Lebanon and Iraq as well. Iran should be wise and make the right decision before it loses even more of its cards in the region.