The story takes place in the last years of the fictional Dasheng Dynasty - a time of chaos in the fairy tales where rituals have collapsed, celestial phenomena are chaotic, and evil spirits are looming. Ye Qiu, a young man, was originally a sweeper working for a fortune teller in Qingyang Town. He had mediocre qualifications but was extremely thoughtful. One night, he bought a broken tortoise shell at a temple fair, which caused the phantom of Hetu Luoshu to appear, which had been silent for thousands of years. He was empowered with the laws of the universe and awakened the consciousness of "deduction of all phenomena", which can trace cause and effect, dismantle formation patterns, and predict the flow of luck. He grew up from a young fortune-teller who lived on the street to a master of divine fortune-telling in charge of the Qintian Prison. However, he was shocked to find out during the deduction that his memory was sealed and he was actually the reincarnation of the soul of the ancient river map. What is even more shocking is that the "remnant thoughts of the Ruins Dragon" dormant in the body of the current saint that devoured the way of heaven, which is the source of the world's great catastrophe. The main plot revolves around Ye Qiu using the hexagram as a blade and the formation as a shield, fighting step by step between the intrigues of the court and the conflicts in the world of cultivation, repairing the rift between heaven and earth, awakening the origin of the river map, and finally facing the ancient disaster in the holy body.