If you notice closely, when Pakistan had excellent relations with US, GCC became a brother. In the 80s and early 2000s but when problems started, they turned the other way.
Pakistan must do the same, anyone having good relations with China is our friend and vice versa. Pakistan must continue to expose hindutva to common arabs, and at the same time make relations with whomever benefits Pakistan's interests whether a muslim or non muslim state.
This policy will be successful. Frankly, no muslim country has truly helped Pakistan except when it suited them. How many divisions did Afghans, iranians, GCC or even indonesians send during 48,65,71,99? Diplomatic support means nothing when not backed by hard power.