Ecclesiastes 2:26

For to the man that pleaseth him God giveth wisdom, and knowledge, and joy; but to the sinner he giveth travail, to gather and to heap up, that he may give to him that pleaseth God. This also is vanity and a striving after wind.

Proverbs 13:22

A good man leaveth an inheritance to his children's children; And the wealth of the sinner is laid up for the righteous.

Job 27:16-17

Though he heap up silver as the dust, And prepare raiment as the clay;

John 16:24

Hitherto have ye asked nothing in my name: ask, and ye shall receive, that your joy may be made full.

Genesis 7:1

And Jehovah said unto Noah, Come thou and all thy house into the ark; for thee have I seen righteous before me in this generation.

2 Chronicles 31:20-21

And thus did Hezekiah throughout all Judah; and he wrought that which was good and right and faithful before Jehovah his God.

Job 32:8

But there is a spirit in man, And the breath of the Almighty giveth them understanding.

Proverbs 3:13-18

Happy is the man that findeth wisdom, And the man that getteth understanding.

Proverbs 28:8

He that augmenteth his substance by interest and increase, Gathereth it for him that hath pity on the poor.

Ecclesiastes 1:14

I have seen all the works that are done under the sun; and, behold, all is vanity and a striving after wind.

Isaiah 3:10-11

Say ye of the righteous, that it shall be well with him ; for they shall eat the fruit of their doings.

Luke 1:6

And they were both righteous before God, walking in all the commandments and ordinances of the Lord blameless.

Romans 14:17-18

for the kingdom of God is not eating and drinking, but righteousness and peace and joy in the Holy Spirit.

1 Corinthians 1:30-31

But of him are ye in Christ Jesus, who was made unto us wisdom from God, and righteousness and sanctification, and redemption:

Galatians 5:22-23

But the fruit of the Spirit is love, joy, peace, longsuffering, kindness, goodness, faithfulness,

Colossians 1:9-12

For this cause we also, since the day we heard it , do not cease to pray and make request for you, that ye may be filled with the knowledge of his will in all spiritual wisdom and understanding,

Colossians 3:16-17

Let the word of Christ dwell in you richly; in all wisdom teaching and admonishing one another with psalms and hymns and'spiritual songs, singing with grace in your hearts unto God.

James 3:17

But the wisdom that is from above is first pure, then peaceable, gentle, easy to be entreated, full of mercy and good fruits, without variance, without hypocrisy.

Treasury of Scripture Knowledge

Summary

For God giveth to a man that is good in his sight wisdom, and knowledge, and joy: but to the sinner he giveth travail, to gather and to heap up, that he may give to him that is good before God. This also is vanity and vexation of spirit.

In his sight

Bible References

In his sight

Genesis 7:1
And Jehovah said unto Noah, Come thou and all thy house into the ark; for thee have I seen righteous before me in this generation.
Luke 1:6
And they were both righteous before God, walking in all the commandments and ordinances of the Lord blameless.

Wisdom

2 Chronicles 31:20
And thus did Hezekiah throughout all Judah; and he wrought that which was good and right and faithful before Jehovah his God.
Proverbs 3:13
Happy is the man that findeth wisdom, And the man that getteth understanding.
Isaiah 3:10
Say ye of the righteous, that it shall be well with him ; for they shall eat the fruit of their doings.
John 16:24
Hitherto have ye asked nothing in my name: ask, and ye shall receive, that your joy may be made full.
Romans 14:17
for the kingdom of God is not eating and drinking, but righteousness and peace and joy in the Holy Spirit.
1 Corinthians 1:30
But of him are ye in Christ Jesus, who was made unto us wisdom from God, and righteousness and sanctification, and redemption:
Galatians 5:22
But the fruit of the Spirit is love, joy, peace, longsuffering, kindness, goodness, faithfulness,
Colossians 1:9
For this cause we also, since the day we heard it , do not cease to pray and make request for you, that ye may be filled with the knowledge of his will in all spiritual wisdom and understanding,
Colossians 3:16
Let the word of Christ dwell in you richly; in all wisdom teaching and admonishing one another with psalms and hymns and'spiritual songs, singing with grace in your hearts unto God.
James 3:17
But the wisdom that is from above is first pure, then peaceable, gentle, easy to be entreated, full of mercy and good fruits, without variance, without hypocrisy.

To the sinner

Job 27:16
Though he heap up silver as the dust, And prepare raiment as the clay;
Proverbs 13:22
A good man leaveth an inheritance to his children's children; And the wealth of the sinner is laid up for the righteous.
Proverbs 28:8
He that augmenteth his substance by interest and increase, Gathereth it for him that hath pity on the poor.

General references

Psalm 37:16
Better is a little that the righteous hath Than the abundance of many wicked.
Ecclesiastes 1:2
Vanity of vanities, saith the Preacher; vanity of vanities, all is vanity.
Ecclesiastes 3:10
I have seen the travail which God hath given to the sons of men to be exercised therewith.
Matthew 6:19
Lay not up for yourselves treasures upon the earth, where moth and rust consume, and where thieves break through and steal:
1 Timothy 6:8
but having food and covering we shall be therewith content.

American Standard Version Public Domain