When Ravana succeeded in getting control over all the nine planets, he installed them face down on the nine steps that led to his throne. Each morning, he would step on their back to ascend his throne, causing insult and anguish to them.
One day sage Narada came to Ravana, and upon seeing the state of the nine planets asked Shani, “how as the mightiest and most terrible of the planets, he could bear this insult?” Shani replied “because he was lying face downward he was helpless, but if he could cast his gaze on Ravana, matters would change. “
After Narada was shown around the magnificent palace of Ravana the proud king wanted his opinion. The wise sage replied that everything was excellent at the palace of Ravana, except for one. ‘How can Ravana get the pleasure of subduing the nine planets when they were lying face downwards?’ he asked. It was better if they were lying with their faces upward so that when Ravana stepped over their chests, he could get the pleasure of seeing the discomfort on their faces.
Ravana due to his arrogance and pride liked the suggestion and he quickly ordered his staff to turn the nine planets around on their backs. As soon as that was done, Shani’s gaze fell on Ravana and his reason abandoned him.
Within a few months he kidnapped Sita, the wife of Lord Rama that led to Lord Rama’s invasion of his kingdom. Ravana and his entire family were killed.So, even Ravana, mighty king and worshiper of Shiva lost everything due to his pride.