Military divergence came late, not early
China's military capacity stayed roughly equal to Europe's until about 1700 and fell clearly behind only after about 1760. Before that, Ming and Qing armies used and improved firearms as well as Europeans did. The gap that showed in the Opium Wars was recent, not a deep civilizational one going back to the Song or Ming.
