Even in the heavens, everything isn’t so rosy. Desires and greed and jealousy still seem to exist. And MahaVishnu knows everything, as in this case of Uchchaishravas.
Vishnu foresaw that in his impending Vāmana avatar, Bali would lose everything, including Uchchaishravas, who would eventually belong to Indra.
Even the Gods had to endure the cycle of desires and rebirth, just like us mere mortals.
Patience, foresight, contentment and equanimity would perhaps be good to cultivate, otherwise what chance do we have at liberation when even the Gods fall prey to Maya?