As for every man to whom God has given riches and wealth, He has also empowered him to eat from them and to receive his reward and rejoice in his labor; this is the gift of God.
Read all of Ecclesiastes 5 NAS
Read Ecclesiastes 5:19 in another translation