he didn't have children and he prayed to vishnu to grant him the wish