Ecclesiastes 2:26

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

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 just.

Job 27:16-17

Though he should heap up silver as the dust, and prepare raiment as the clay?

John 16:24

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

Genesis 7:1

And the LORD said to 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 performed that which was good and right and truth before the LORD his God.

Job 32:8

But there is a spirit in man: and the inspiration 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 by usury and unjust gain increaseth 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 vexation of spirit.

Isaiah 3:10-11

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

1 Corinthians 1:30-31

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

Galatians 5:22-23

But the fruit of the Spirit is love, joy, peace, long-suffering, 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 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 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 easy to be entreated, 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 to 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 performed that which was good and right and truth before the LORD his God.
Proverbs 3:13
Happy is the man that findeth wisdom, and the man that getteth understanding.
Isaiah 3:10
Say ye to the righteous, that it shall be well with him: for they shall eat the fruit of their doings.
John 16:24
Hitherto ye have asked nothing in my name: ask, and ye 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
But of him are ye in Christ Jesus, who from God is made to us wisdom, and righteousness, and sanctification, and redemption:
Galatians 5:22
But the fruit of the Spirit is love, joy, peace, long-suffering, 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 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 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 easy to be entreated, full of mercy and good fruits, without partiality, and without hypocrisy.

To the sinner

Job 27:16
Though he should 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 just.
Proverbs 28:8
He that by usury and unjust gain increaseth his substance, he shall gather it for him that will pity the poor.

General references

Psalm 37:16
A little that a righteous man hath is better than the riches 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 labor, which God hath given to the sons of men to be exercised in it.
Matthew 6:19
Lay not up for yourselves treasures upon earth, where moth and rust doth corrupt, and where thieves break through and steal:
1 Timothy 6:8
And having food and raiment, with these let us be content.