At the end of the Sui and Tang Dynasties, the four divine beads from the divine world were stolen into the world by evildoers, causing chaos in the world. The immortal Bai Kongchen was sent to the human world to retrieve the four divine beads, kill the evil spirits, and restore peace to the world.