I don't think Turkey has interest in attacking Irán or just allowing third actors to do It. That would be a whole mess for them, from nationalistic demands of kurdish and others to undesired presence of regional powers under their frontier.
But I agree this pact cannot work against Israel. At least right now. All three are so damn dependent on US logistics that in few weeks they would have completely non operative their Air force or Air defenses systems.
Just Pakistán are slowly being disengaged of the US/NATO logistics, but will take years for being completely independent to them. And Turkey and Saudí Arabia at least 20 years.
That is the bitter truth.