Verse 26. Giveth-wisdom, and knowledge, and joy - 1. God gives wisdom-the knowledge of himself, light to direct in the way of salvation.
2. Knowledge-understanding to discern the operation of his hand; experimental acquaintance with himself, in the dispensing of his grace and the gifts of his Spirit. 3. Joy; a hundred days of ease for one day of pain; one thousand enjoyments for one privation; and to them that believe, peace of conscience, and JOY in the Holy Ghost.
But to the sinner he giveth travail - He has a life of labour, disappointment, and distress; for because he is an enemy to God, he travails in pain all his days; and, as the wise man says elsewhere, the wealth of the wicked is laid up for the just. So he loseth earthly good, because he would not take a heavenly portion with it.