'Gives' in the Bible
I also amassed silver and gold for myself, as well as valuable treasures taken from kingdoms and provinces. I acquired male singers and female singers for myself, and what gives a man sensual delight -- a harem of beautiful concubines!
For to the one who pleases him, God gives wisdom, knowledge, and joy, but to the sinner, he gives the task of amassing wealth -- only to give it to the one who pleases God. This task of the wicked is futile -- like chasing the wind!
God gives a man riches, property, and wealth so that he lacks nothing that his heart desires, yet God does not enable him to enjoy the fruit of his labor -- instead, someone else enjoys it! This is fruitless and a grave misfortune.
Wisdom gives a wise person more protection than ten rulers in a city.
So I recommend the enjoyment of life, for there is nothing better on earth for a person to do except to eat, drink, and enjoy life. So joy will accompany him in his toil during the days of his life which God gives him on earth.