The statement that best explains how the scholar class evolved during the Song Dynasty is: Scholars had to be familiar with Confucian texts to serve in the government.
This reflects the emphasis on Confucian education in the civil service examination system, which was instrumental in shaping the scholar-official class during the Song Dynasty.