Jeremiah 17:7

5 Thus saith the LORD; Cursed be the man that trusteth in man, and maketh flesh his arm, and whose heart departeth from the LORD.

6 For he shall be like the heath in the desert, and shall not see when good cometh; but shall inhabit the parched places in the wilderness, in a salt land and not inhabited.

Blessed is the man that trusteth in the LORD, and whose hope the LORD is.

8 For he shall be as a tree planted by the waters, and that spreadeth out her roots by the river, and shall not see when heat cometh, but her leaf shall be green; and shall not be careful in the year of drought, neither shall cease from yielding fruit.

9 The heart is deceitful above all things, and desperately wicked: who can know it?

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
But blessed is the man who trusts in the LORD, whose confidence is in Him.
KJV
Blessed is the man that trusteth in the LORD, and whose hope the LORD is.
WEB
“Blessed is the man who trusts in the LORD, and whose confidence is in the LORD.
ASV
Blessed is the man that trusteth in Jehovah, and whose trust Jehovah is.
DARBY
Blessed is the man that confideth in Jehovah, and whose confidence Jehovah is.
BLB
Blessed [is] the man who trusts in YHWH, and his hope is YHWH.
ÅB
Velsignet er den mann som stoler på Herren, og hvis tillit Herren er.
OTB
Velsignet er den som stoler på Herren, hvis tillit er til Ham.
B1930
Velsignet er den mann som stoler på Herren, og hvis tillit Herren er.

Study notes (Tyndale)

Original text and word study

Cross references