Lin Qing, a modern rich second-generation heir, transmigrates as Li Yin, the sixth son of Emperor Taizong of Tang. Using the guise of a wastrel to conceal his true intentions, he secretly makes plans with the help of his System's golden finger, surviving in the crossfire between Li Shimin, Li Tai, Li Chengqian, and their factions. He gradually reveals his talent for governing, dismantles the villains' plots, and ultimately takes control, helping the Tang dynasty usher in a golden age while investigating the truth behind his transmigration.