Once the gods created worlds and sentient beings, the demons attacked these, too. The gods created mountains, oceans, and wastelands to seal up the gates to the Abyss, but their creations defied their orders and explored their worlds, accidentally unsealing the gates. The gods could not understand why their creations did not follow their instructions, until Asmodeus explained to them that their system did not work because it relied solely upon voluntary compliance. Asmodeus explained that the only way to ensure obedience was to threaten mortals with a disincentive; hence, Asmodeus invented the concept of punishment.