We can learn Importance of Bhakti, Truth, Dharma in this answer
Ravan worshipped lord Shiva in the form of Shivlingam, He is one of the devotee of lord Shiva
Rama also worshipped lord Shiva in the form of Shivlingam, He is also one of the devotee of lord Shiva
Both Rama and Ravan worshipped lord Shiva got blessings from lord Shiva . For Success
Rama had Bhakti to wards his god Shiva He followed Path of Truth , Dharma in life He become Maryada Purushottam.
But Ravana also had Bhakti towards his god Shiva He followed path of Untruth , Adharma , which is not liked by lord Shiva , results in downfall of Ravan
Lord Shiva only present in the heart of devotees were their is a truth , Bhakti and Dharma.
Lord Shiva given blessings for both , but lord Shiva present in the heart of Ram who has Bhakti , truth and Dharma. But Ravan misused blessings given by lord Shiva
🌟By this answer what we understood🌟
● Not only Bhakti is important but also Path of Truth and Dharma is also important.
● Never to misuse blessings or boon given by lord Shiva. It leads to downfall.
Ravana is great Pandit, highly qualified Brahmin , Great Musician what is the use of those . But He failed to apply in his own life .