Solomon has an anti-wisdom feel in Ecclesiastes, resigned to being unable to change anything, or to going through life as a caged bird or trapped fish. There's a futility in living without God, so stay away from such a life.