How’s this for a quick explanation of Ecclesiastes and Job:
In the book of Job, God shows Job, who is identified as a most righteous man, that he is a sinner in God’s sight
In the book of Ecclesiastes, God shows Solomon, who is identified as a most wise man, that he’s a fool in God’s sight
In short, God reframes everything