Ecclesiastes 2:26

For God gives to a man that is good in his sight wisdom, and knowledge, and joy: but to the sinner he gives the work of gathering and heaping up, only that he may give to him that is good before God. This also is vanity and grasping of the wind.

Proverbs 13:22

A good man leaves an inheritance to his children's children: but the wealth of the sinner is laid up for the just.

Job 27:16-17

Though he heap up silver as the dust, and pile up clothing as the clay;

John 16:24

Until now have you asked nothing in my name: ask, and you shall receive, that your joy may be full.

Genesis 7:1

And the LORD said unto Noah, Come you and all your house into the ark; for you have I seen righteous before me in this generation.

2 Chronicles 31:20-21

And thus did Hezekiah throughout all Judah, and did that which was good and right and true before the LORD his God.

Job 32:8

But there is a spirit in man: and the inspiration of the Almighty gives him understanding.

Proverbs 3:13-18

Happy is the man that finds wisdom, and the man that gets understanding.

Proverbs 28:8

He that by usury and unjust gain increases his substance, he shall gather it for him that will pity the poor.

Ecclesiastes 1:14

I have seen all the works that are done under the sun; and, behold, all is vanity and like grasping the wind.

Isaiah 3:10-11

Say you to the righteous, that it shall be well with him: for they shall eat the fruit of their deeds.

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 food and drink; but righteousness, and peace, and joy in the Holy Spirit.

1 Corinthians 1:30-31

And of him are you in Christ Jesus, who of God is made unto us wisdom, and righteousness, and sanctification, and redemption:

Galatians 5:22-23

But the fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness, faith,

Colossians 1:9-12

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

Colossians 3:16-17

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

James 3:17

But the wisdom that is from above is first pure, then peaceable, gentle, and compliant, full of mercy and good fruits, without partiality, and 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 the LORD said unto Noah, Come you and all your house into the ark; for you 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 did that which was good and right and true before the LORD his God.
Proverbs 3:13
Happy is the man that finds wisdom, and the man that gets understanding.
Isaiah 3:10
Say you to the righteous, that it shall be well with him: for they shall eat the fruit of their deeds.
John 16:24
Until now have you asked nothing in my name: ask, and you shall receive, that your joy may be full.
Romans 14:17
For the kingdom of God is not food and drink; but righteousness, and peace, and joy in the Holy Spirit.
1 Corinthians 1:30
And of him are you in Christ Jesus, who of God is made unto us wisdom, and righteousness, and sanctification, and redemption:
Galatians 5:22
But the fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness, faith,
Colossians 1:9
For this cause we also, since the day we heard it, do not cease to pray for you, and to desire that you might be filled with the knowledge of his will in all wisdom and spiritual understanding;
Colossians 3:16
Let the word of Christ dwell in you richly in all wisdom; teaching and admonishing one another in psalms and hymns and spiritual songs, singing with grace in your hearts to the Lord.
James 3:17
But the wisdom that is from above is first pure, then peaceable, gentle, and compliant, full of mercy and good fruits, without partiality, and without hypocrisy.

To the sinner

Job 27:16
Though he heap up silver as the dust, and pile up clothing as the clay;
Proverbs 13:22
A good man leaves an inheritance to his children's children: but the wealth of the sinner is laid up for the just.
Proverbs 28:8
He that by usury and unjust gain increases his substance, he shall gather it for him that will pity the poor.

General references

Psalm 37:16
A little that a righteous man has is better than the riches of many wicked.
Ecclesiastes 1:2
Vanity of vanities, says the Preacher, vanity of vanities; all is vanity.
Ecclesiastes 3:10
I have seen the task, which God has given to the sons of men to be occupied in it.
Matthew 6:19
Lay not up for yourselves treasures upon earth, where moth and rust does corrupt, and where thieves break through and steal:
1 Timothy 6:8
And having food and clothing let us be with these things content.