“We cannot enter into alliance with neighboring princes until we are acquainted with their designs” – Sun Tzu, The Art of War
From history we learn, when the raising power threatens to displace the dominant power, war is almost always the result.
Typically, there is about 10 to 20 years of some sorts of conflicts (geopolitical, trade, technological or capital) between the raising power and the dominant power before all-out war is declared.
History has shown that the successes of all empires depend on their ability to maintain their strengths without producing the excesses that lead to their declines. The really successful ones have been able to do that for 200-300 years. None has been able to do it forever.
"History repeats itself endlessly for those who are unwilling to learn from the past" - Leon Brown