At the end of the Dayin Dynasty, rituals collapsed and evil spirits were rampant. The court was dominated by powerful eunuchs and pseudo-Confucians, and the imperial examination became a tool for the powerful. The young Liu Bai is a scholar from a poor family in Qingzhou. When he was studying hard at Yunxiu Academy, he was swept into a dry well in the backyard by a strange black wind at midnight - ancient seals with gold patterns appeared on the walls of the well, which awakened the ancient Confucian saint's "Haoran Zhengqi". He rose from a poor boy to the top scholar in the imperial examination, but on the way to the imperial examination, he was shocked to learn that he was the orphan of the deposed prince who was framed and executed ten years ago. Carrying a blood feud and the flames of Confucianism and Taoism, Liu Bai used his pen as a sword and reason as a shield to stir up troubles in the court, suppress demon tides at border gates, and go to Jiuyi to search for holy relics. He gradually uncovered the truth behind the severance of Confucianism and Taoism: the so-called "great righteousness" was actually transformed by the ancient saints' seal of the evil energy of heaven and earth. Now the seal is loosened and the demons have risen again, all because those in power have stolen the holy way, destroyed the classics, and tampered with the meaning of the scriptures. He must reestablish his Confucianism and redefine the principles of heaven. In front of the Zichen Palace in the imperial capital, he must write a "Song of Righteousness" to spark the fire of the nine heavens and burn away the haze of a hundred years.