Ravana made the mistake of recognizing Lord Shiva as Hanumanji.

Mother Sitaji also enriched Shri Hanumanji with Vinaya. Because the way Shri Hanumanji kept the message flowing between husband and wife full of dignity and devotion, is not to be forgotten at all. Why was Shri Hanumanji so happy after hearing the phrase ‘God please’, what was the reason behind it.
Shri Hanumanji is also very flexible in nature and has divine pastimes. In an instant Mother appeared before Sitaji in a huge form. And in an instant he came again in a small form. There is one Ravana, who sings raga against mother Sita to grow up.
He also does not have the knowledge which is the power of the Self-Pakshi etc. By whose majesty all powers exist, what kind of power does he display against them? What could be more foolish for a drop against the ocean to extol its vastness and depth.
But Ravana is Ravana, where was he to stop? Whenever he came near Sri Janakiji, he would only praise that there was no warrior stronger than him in the world. The fool could not bear it, that Sri Sitaji would have to surrender before him,
So when would she have done it? But Ravana could not understand all this a bit. For he was not only a fool, but a great fool. There is absolutely zero silence from intelligence and conscience. He did not even know that he should imbibe some of the qualities of his Guru.
Ravana’s guru was undoubtedly Lord Shankar. And today Lord Shankar himself arrived in Lanka in the form of Shri Hanumanji. This is why Shri Hanumanji was also Ravana’s guru. He, being a Guru, could prostrate at Sri Janakiji’s feet and see Ravana’s misfortune that he was austere even as a disciple.
Look at the personality of Shri Hanumanji. They may have grown up under circumstances. But in the next moment, Sri Hanumanji came in his younger avatar. Now whether Mother Sita’s heart was cold or not, the message of Lord through Shri Hanumanji and the plan of His arrival has been definitely decided. At the same time it also became clear that the monkeys accompanying the Lord were not small warriors, but great warriors.
But Shri Hanumanji is better than the best ascetic and perfect saint. Are they good in the practitioner’s mind, let alone a minor spiritual perversion? When Sitaji was satisfied that the monkeys who had accompanied Shri Ramji were no less powerful. So Sri Hanumanji thought that if the seeker does not consider God as the cause and support and considers someone else as the doer for the blessings showered on him, then the basis of his spiritual progress will become hollow.
Their faith and dedication will be divided into many parts. He will not be able to give his full devotion, love and surrender to the Lord. Surely it will prove to be a losing deal for him. In such a situation, such thorns should be removed as soon as possible. Shri Hanumanji folded his hands in a humble gesture and said – In such a situation, the basis of his spiritual progress will become hollow. Their faith and dedication will be divided into many parts.
He will not be able to give his full devotion, love and surrender to the Lord. Surely it will prove to be a losing deal for him. In such a situation, such thorns should be removed as soon as possible. Shri Hanumanji folded his hands in a humble gesture and said – In such a situation, the basis of his spiritual progress will become hollow.