This first psalm, the opening of this wisdom book, has at its center the image of trees. Fruitful--their leaves do not wither, in all they do they prosper. Imagine living in an arid land. Little rain. Little vegetation. Imagine what a tree would signify.
A tree in an arid land can prosper only if it is planted near a water source.
The teaching of the Lord provides what is necessary for us to grow, to prosper, to bear fruit. Ignoring that teaching is what the wicked do, the ones who become like chaff, driven by the wind.
I'm living now in a place with lots of rain, thus, lots of trees, big trees. It's quite a contrast from where I grew up, a place without much rain, not many trees, and the trees we had, even those decades old, were short and sparse.
Driving down the highway, you could easily tell where the creeks were because you would see that curving line of trees.
Like water for trees, God's law protects and enriches us.