Ecclesiastes 2:26

To the man who is good, God gives wisdom and knowledge and joy. But to the sinner he gives the work of getting goods together and storing up wealth, to give to him who is good before God. This also is vanity and grasping for the wind.

Proverbs 13:22

A good man leaves an inheritance to his children's children. The wealth of the sinner is preserved for the righteous.

Job 27:16-17

Though he heaps up silver like dust and clothes like piles of clay,

John 16:24

Until now you have not asked a single thing in my name. Ask, and you will receive, that your joy may be made full.

Genesis 7:1

Jehovah said to Noah: Go into the ark, you and your whole family. For I have found you righteous in this generation.

2 Chronicles 31:20-21

This is what Hezekiah did throughout Judah. He did what was good and right and true to Jehovah his God.

Job 32:8

But truly it is the spirit in a man, the breath of the Almighty that makes for understanding.

Proverbs 3:13-18

How blessed is the man who finds wisdom. Happy is the man who gains understanding.

Proverbs 28:8

He who becomes wealthy through unfair loans and interest collects them for the one who pitys the poor.

Ecclesiastes 1:14

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

Isaiah 3:10-11

Tell the righteous that blessings will come to them. They will taste the fruit of their labor.

Luke 1:6

They were both righteous before God. They blamelessly obeyed all the commandments and ordinances of God (Greek: kurios: God).

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

It is because of him you are united with Christ Jesus, who became wisdom to us from God, and righteousness, and sanctification, and redemption.

Galatians 5:22-23

The fruit of the Spirit is love, joy, peace, longsuffering, kindness, goodness, faith,

Colossians 1:9-12

Since the day we heard about you, we have not ceased to pray and make request for you. We pray for you to be filled with the [intimate accurate] knowledge (discernment) (recognition) of his will in all spiritual wisdom and understanding. (Philippians 1:9) (John 17:3)

Colossians 3:16-17

Let the word of Christ richly dwell within you with all wisdom. Teach and admonish one another with psalms, praises to God, and spiritual songs. Sing with gratitude in your hearts to God.

James 3:17

But the wisdom that is from above is first pure, then peaceable, gentle, reasonable (yielding), full of mercy and good fruits, without discord (partiality), 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
Jehovah said to Noah: Go into the ark, you and your whole family. For I have found you righteous in this generation.
Luke 1:6
They were both righteous before God. They blamelessly obeyed all the commandments and ordinances of God (Greek: kurios: God).

Wisdom

2 Chronicles 31:20
This is what Hezekiah did throughout Judah. He did what was good and right and true to Jehovah his God.
Proverbs 3:13
How blessed is the man who finds wisdom. Happy is the man who gains understanding.
Isaiah 3:10
Tell the righteous that blessings will come to them. They will taste the fruit of their labor.
John 16:24
Until now you have not asked a single thing in my name. Ask, and you will receive, that your joy may be made 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
It is because of him you are united with Christ Jesus, who became wisdom to us from God, and righteousness, and sanctification, and redemption.
Galatians 5:22
The fruit of the Spirit is love, joy, peace, longsuffering, kindness, goodness, faith,
Colossians 1:9
Since the day we heard about you, we have not ceased to pray and make request for you. We pray for you to be filled with the [intimate accurate] knowledge (discernment) (recognition) of his will in all spiritual wisdom and understanding. (Philippians 1:9) (John 17:3)
Colossians 3:16
Let the word of Christ richly dwell within you with all wisdom. Teach and admonish one another with psalms, praises to God, and spiritual songs. Sing with gratitude in your hearts to God.
James 3:17
But the wisdom that is from above is first pure, then peaceable, gentle, reasonable (yielding), full of mercy and good fruits, without discord (partiality), without hypocrisy.

To the sinner

Job 27:16
Though he heaps up silver like dust and clothes like piles of clay,
Proverbs 13:22
A good man leaves an inheritance to his children's children. The wealth of the sinner is preserved for the righteous.
Proverbs 28:8
He who becomes wealthy through unfair loans and interest collects them for the one who pitys the poor.

General references

Psalm 37:16
Better is the little of the righteous than the abundance of many wicked.
Ecclesiastes 1:2
Vanity of vanities, said the Preacher, vanity of vanities; all is vanity.
Ecclesiastes 3:10
I have seen the task that God has given with which the sons of men are occupied.
Matthew 6:19
Do not accumulate large amounts of wealth on earth. This is where moth and rust consume and where thieves break in and steal.
1 Timothy 6:8
We should be content with having food and covering.