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.
"What has been will be again, what has been done will be done again; there is nothing new under the sun. Is there anything of which one can say, “Look! This is something new”? It was here already, long ago; it was here before our time"