look. things are not like this. Pakistan should be saved from the coming big events. no one will come to rescue Pakistan in time of need. China will go be busy in pacific. The best option for Pakistan is to stay neutral and independent.
Now what is happening, that usa is withdrawing from confrontation with IRAN and is conspiring to make an alliance of Turkey+Pak to soften IRAN. Basically they plan to use this card before the USA+israel again rise up against IRAN.
Currently usa+nato+israel does not have the capability to defeat IRAN.
Pakistan should not involve in any conflict in the region. It is China factor that Pakistan seems to be declining any alliance against IRAN but infact currently Pakistan is not believed as what it is showing or telling.
The important is that Pakistan is an independent country and should not loose its position.