With the defeat of the Wizard Kings, the seal on the god's prison is destroyed. They are released back into the world.