Verse 18

नारायणादयो देवा अपि सर्वावबोधिनः ।तेनाक्रम्य यथाकाममवटेषु निवेशिताः

In plain words

The gods beginning with Nārāyaṇa, though all-awakened, were overpowered by him and set down into pits, just as he pleased.