Look what Japan, South Korea, Taiwan, Germany etc have acieved where American hegemony exists. It all depends on how well the host countries deal with the issues that are important.
In all relationships between any two countries there are issues which are matters of self-interest whether it is between India & America or India & Russia or India & China etc.
China is not assisting Pakisthan for nothing; it is using Pak as proxy against India.
Soviet Union subjugated all the East European countries for several decades for their own ends.
Neither China or Russia gave up their national interests for the sake of their ideology.