To put Jesus’ words into practice is to live in obedience to what he has taught/commanded. This is compared to building a house on a rock. The image of a rock is often used in the Bible for the security Israel had in God if they obeyed him (Deuteronomy 32:4, Deuteronomy 32:18, Deuteronomy 32:31; Psalm 18:2, Psalm 18:31, Psalm 18:46; Psalm 19:14), especially in a time of flood or disaster (Isaiah 28:14–19).1
24 “Everyone then who hears these words of mine and does them will be like a wise man who built his house on the rock.