Lu Mingzhao, a modern science and engineering boy, travels back in time to ancient times. His family is in decline, and his eldest and second sisters support the family. He changed his destiny through the imperial examination. He became a disciple of Pei Yanzhi, who had a profound background but was strict. He received strict education in the academy and was sent to a poor county as a county magistrate. He used modern knowledge to build infrastructure according to local conditions and managed the poor counties to become rich. During this period, he was taught a lesson by his master for making mistakes or being too proud. He adjusted multiple counties to solve different people's livelihood problems, showing the power game and character growth in ancient official circles. At the same time, the emotional bond between master and apprentice gradually deepened through strict teaching, burying the hidden threads in the court and revealing the master's profound background and complex identity.