Psalms 1:1-3 (ESV Strong's)
1 Blessed is the man
who walks not in the counsel of the wicked,
nor stands in the way of sinners,
nor sits in the seat of scoffers;
2 but his delight is in the law of the Lord,
and on his law he meditates day and night.
3 He is like a tree
planted by streams of water
that yields its fruit in its season,
and its leaf does not wither.
In all that he does, he prospers.
Revelation 22:1-2 (ESV Strong's)
1 Then the angel showed me the river of the water of life, bright as crystal, flowing from the throne of God and of the Lamb 2 through the middle of the street of the city; also, on either side of the river, the tree of life with its twelve kinds of fruit, yielding its fruit each month. The leaves of the tree were for the healing of the nations.
The blessed man is like the tree because he is part of the tree of life. He yields the fruit of the Spirit and prospers in the eternal life of Christ.
The streams of water flow from the throne of God on earth, the living waters which water the Garden of Eden which is life in the presence of the Lord.
He is planted there by believing in Jesus and receiving the Holy Spirit who is the river of life.