Ecclesiastes 2:26

For to the man who pleases him [God] gives wisdom and knowledge and joy, but to the sinner he gives travail, to gather and to heap up, that he may give to him who pleases God. This also is vanity and a striving after wind.

Proverbs 13:22

A good man leaves an inheritance to his son's sons, and the wealth of the sinner is laid up for the righteous.

Job 27:16-17

Though he heaps up silver as the dust, and prepares raiment as the clay,

John 16:24

Until now ye have asked nothing in my name. Ask, and ye will receive, so that your joy may be made full.

Genesis 7:1

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

2 Chronicles 31:20-21

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

Job 32:8

But there is a spirit in man, and the breath of the Almighty gives them understanding.

Proverbs 3:13-18

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

Proverbs 28:8

He who augments his substance by interest and increase, gathers it for him who has 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 is] well, for they shall eat the fruit of their doings.

Luke 1:6

And they were both righteous before God, going in all the commandments and righteous things 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 Holy Spirit.

1 Corinthians 1:30-31

But ye are his, in Christ Jesus, who became for 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

Because of this we also, from the day that we heard, cease not praying for you and making request that ye may 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 abundantly in all wisdom, teaching and admonishing yourselves in psalms and hymns and spiritual songs, singing by grace in your hearts to God.

James 3:17

But the wisdom from above is indeed first pure, then peaceful, meek, easily entreated, full of mercy and good fruits, impartial and non-hypocritical.

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 LORD said to Noah, Come, thou and all thy house into the ark, for I have seen thee righteous before me in this generation.
Luke 1:6
And they were both righteous before God, going in all the commandments and righteous things of the Lord blameless.

Wisdom

2 Chronicles 31:20
And thus Hezekiah did throughout all Judah. And he wrought that which was good and right and faithful before LORD his God.
Proverbs 3:13
Happy is the man who finds wisdom, and the man who gets understanding.
Isaiah 3:10
Say ye of the righteous, that [it is] well, for they shall eat the fruit of their doings.
John 16:24
Until now ye have asked nothing in my name. Ask, and ye will receive, so 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 Holy Spirit.
1 Corinthians 1:30
But ye are his, in Christ Jesus, who became for 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
Because of this we also, from the day that we heard, cease not praying for you and making request that ye may 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 abundantly in all wisdom, teaching and admonishing yourselves in psalms and hymns and spiritual songs, singing by grace in your hearts to God.
James 3:17
But the wisdom from above is indeed first pure, then peaceful, meek, easily entreated, full of mercy and good fruits, impartial and non-hypocritical.

To the sinner

Job 27:16
Though he heaps up silver as the dust, and prepares raiment as the clay,
Proverbs 13:22
A good man leaves an inheritance to his son's sons, and the wealth of the sinner is laid up for the righteous.
Proverbs 28:8
He who augments his substance by interest and increase, gathers it for him who has pity on the poor.

General references

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