What is the meaning of Psalm 73:3?

For I was envious at the foolish, [when] I saw the prosperity of the wicked. (Psalm 73:3 KJV)

For I was envious at the arrogant, When I saw the prosperity of the wicked. (Psalm 73:3 ASV)

For I was envious at the arrogant, seeing the prosperity of the wicked. (Psalm 73:3 DBY)

The peace of the wicked I see, That there are no bands at their death, (Psalm 73:3 YLT)

For I was envious of the arrogant, when I saw the prosperity of the wicked. (Psalm 73:3 WEB)

Interlinear

For I was envious <qana’> at the foolish, <halal> when I saw <ra’ah> the prosperity <shalowm> of the wicked. <rasha`> (Psalm 73:3 KJV)

Treasury of David

Ver. 3.  For I was envious at the foolish.  “The foolish” is the generic title of all the wicked: they are beyond all others fools, and he must be a fool who envies fools.  Some read it, “the proud:” and, indeed, these, by their ostentation, invite envy, and many a mind which is out of gear spiritually, becomes infected with that wasting disease.  It is a pitiful thing that an heir of heaven should have to confess “I was envious,” but worse still that he should have to put it, “I was envious at the foolish.”  Yet this acknowledgment is, we fear, due from most of us.

When I saw the prosperity of the wicked.  His eye was fixed too much on one thing; he saw their present, and forgot their future, saw their outward display, and overlooked their soul’s discomfort.  Who envies the bullock his fat when he recollects the shambles?  Yet some poor afflicted saint has been sorely tempted to grudge the ungodly sinner his temporary plenty.  All things considered, Dives had more cause to envy Lazarus than Lazarus to be envious of Dives.