1 [A Psalm of Asaph.] Truly God is good to Israel, even to those who are of a clean heart.
2 But as for me, my feet were almost gone. My steps had well near slipped.
3 For I was envious at the foolish when I saw the prosperity of the wicked.
4 For there are no pangs in their death, but their strength is firm.
5 They are not in trouble as other men, neither are they afflicted like other men.
6 Therefore, pride encompasses them as a chain. Violence covers them as a garment.
7 Their eyes stand out with fatness. The imaginations of their heart transgressed.
8 They are corrupt and speak wickedly concerning oppression. They speak loftily.
9 They set their mouth against the heavens and their tongue walks through the earth.
10 Therefore, his people return here. And waters of a full cup are wrung out to them.
11 And they say, "How does God know? And is there knowledge in the Most High?"
12 Behold, these are the ungodly who prosper in the world. They increase in riches.
13 Truly I have cleansed my heart in vain and washed my hands in innocence.
14 For all the day long I have been afflicted and chastened every morning.
15 If I say, "I will speak thus," behold, I should offend against the generation of your children.
16 When I thought to know this, it was too painful for me,
17 Until I went into the sanctuary of God. Then I understood their end.
18 Surely you set them in slippery places. You cast them down into destruction.
19 How they are brought into desolation as in a moment! They are utterly consumed with terrors.
20 As a dream when one awakes, so, O Lord, when you awake, you will despise their image.
21 Thus my soul was grieved and I was pricked in my heart.
22 So foolish was I, and ignorant. I was as a beast before you.
23 Nevertheless, I am continually with you. You have held me by my right hand.
24 You will guide me with your counsel and afterward receive me to glory.
25 Who do I have in heaven but you? And there is no one upon earth that I desire besides you.
26 My flesh and my heart fails, but God is the strength of my heart and my portion forever.
27 For behold, those who are far from you shall perish. You have destroyed all those who go astray from you.
28 But it is good for me to draw near to God. I have put my trust in the Lord GOD so that I may declare all your works.
[v.28] - "it is good for me to draw near to God" - Reference, James 4:8.