Berean Standard Bible (BSB)
To the man who is pleasing in His sight, He gives wisdom and knowledge and joy, but to the sinner He assigns the task of gathering and accumulating that which he will hand over to one who pleases God. This too is futile and a pursuit of the wind.
World English Bible (WEB)
For to the man who pleases him, God gives wisdom, 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 chasing after wind.
Strong's King James
For God giveth{H5414}{(H8804)} to a man{H120} that is good{H2896} in his sight{H6440} wisdom{H2451}, and knowledge{H1847}, and joy{H8057}: but to the sinner{H2398}{(H8802)} he giveth{H5414}{(H8804)} travail{H6045}, to gather{H622}{(H8800)} and to heap up{H3664}{(H8800)}, that he may give{H5414}{(H8800)} to him that is good{H2896} before{H6440} God{H430}. This also is vanity{H1892} and vexation{H7469} of spirit{H7307}.
The F.O.G *
For to a person who is good in His sight, He has given wisdom, knowledge and joy. But to the deviator He has given the task of gathering and heaping up to give to someone good in the Elohim's sight. This too is a vapour and a striving after wind.
The F.O.G Message *
Young's Literal Translation
For to a man who is good before Him, He hath given wisdom, and knowledge, and joy; and to a sinner He hath given travail, to gather and to heap up, to give to the good before God. Even this is vanity and vexation of spirit.