The seeds of China’s decline were planted as far back as the 6th century, with the implementation of the stifling Keju civil-service examination system.