What did Jesus mean by the house on the rock that withstood storms?

Jesus says if you follow his teachings, you will face the standard resistance all religious people face when they try to go to heaven after they die, but you will not be destroyed by the problems and you will not budge or falter or grow weak in your faith or in your composure and ability to handle the challenges that come in life.

And the book of Revelations says that when you endure and gain victory, you will be immune to many punishments and disasters that others might have to go through either on earth or in heaven.

What did Jesus mean by the house on the rock that withstood storms?
Post Opinion