"He is like a man which built an house, and digged deep, and laid the foundation on a rock: and when the flood arose, the stream beat vehemently upon that house, and could not shake it: for it was founded upon a rock. Luke 6:48"
Jesus Christ compared those who do what He says to a wise builder who built his house on the rock.
In other words, the foundation of the building determines both the strength and lifespan of the building. Jesus Christ is the rock of ages on which we ought to build our lives.
He said if we do His Word, we are wise builders. The wise builder is ready to face the floods and storms of life - which represent the challenges, trials, and difficulties of life - without being shaken by them.
He is certain that life is not all rosy, and therefore His disciples must come to terms with this and prepare themselves to face life; He is expecting nothing but success from them. Dear beloved, what foundation are you building your life on?
Build your life on the Holy Scriptures, and you will surely succeed.