Why Did Vishnu's Gatekeepers Become His Enemies?
Jaya and Vijaya — the two gatekeepers at the gate of Vaikuntha, who stand closest to Vishnu.
Get the Mythraan app — freeGet the Mythraan app — free · App StoreThe katha
Vishnu's own two gatekeepers knowingly chose to become his enemies. Jaya and Vijaya — at the gate of Vaikuntha, closest to Vishnu. The Bhagavata Purana says one day the four Kumara sages came for darshan.
They looked like children — but they were the most ancient of sages. Jaya and Vijaya took them for children, and stopped them at the gate. The sages cursed them: you will be born on earth, far from Vishnu.
For a gatekeeper, what punishment could be greater? Then Vishnu himself came to the gate — and, the story says, offered two paths. Seven births as my devotees — or three births as my enemies. They chose enmity — because in three births they would return home sooner.
Even today at Tirumala, Puri and Srirangam, these two stand at the sanctum door. Six lamps — the two brothers' three births. The first birth — a demon who will drown the whole earth in the ocean.
Source
Bhagavata Purana, canto 3, chapters 15–16 (the choice of seven or three births comes from the folk telling of the story)