Since the beginning of chaos, the universe has been divided into three realms: gods, humans and demons. Gods were born in heaven to protect people. Demons are born in the devil's palace and harm people. Lu Qi, the thirty-third generation emperor of heaven, signed an agreement with the demon king Luo Jing. The demon will not harm others, the three realms will coexist peacefully, and a conference will be held once a year to share happiness. The mark of the sky opened, Taotie came to the world, and the three realms were in a great calamity. Lu Qi and Luo Jing spent thousands of years cultivating to seal Taotie at the foot of Kunlun Mountain. Lu Qi's soul suppressed the seal. Lu Qi was immortal and the seal was immortal. After this battle, Lu Qi spent a lot of cultivation, abdicated, and lived in seclusion in the mountains and forests with his wife. Lu Qi's son, Lu Qingzhi, succeeded to the throne and became the thirty-fourth emperor of heaven. Luo Jing also spent a lot of time cultivating, but his son Luo Di was still young and could not handle the size of the devil's palace, so he decided to wait until he was older before taking over the throne. Unexpectedly, Luo Di was unwilling to give up his free life, which lasted for hundreds of years. It wasn't until Luo Di succeeded to the throne and met Lu Qingzhi again that the story between them began.