I’ve already said that China would indirectly support Pakistan in a future war. It’s not rocket science to understand that. Similar way india will get indirect support from other countries
However, unlike in 1971, when the US and UK were encouraging China to intervene, the possibility of direct military intervention has now become almost negligible. A conflict between two nuclear-armed states creates an entirely different level of risk, and other countries are unlikely to directly interfere because their own people’s safety, national security, and strategic interests come first.
Even putting nuclear weapons aside, if a war broke out between Saudi Arabia and Iran today, Pakistan’s chances of directly joining the war against Iran would be very limited. Once again, national interests, the safety of its own people, and the risk of escalation would come first.
Russia’s war in Ukraine is a good example. Russia has repeatedly treated the direct deployment of foreign military personnel as a red line. So far, no NATO country has officially deployed its own combat forces to fight Russia directly, largely because of the risk of escalation and the principle that national security and the safety of their own citizens come first.