This is about as depressed as I’ve heard Solomon so far. He begins by lamenting over the oppressed who have no comforter, and he ends by expressing gratefulness over those who have never even been born.
How low can he get? His sorrow is understandable because it is true that many people are mercilessly oppressed by people more powerful than them. As Solomon said in verse 1, “On the side of their oppressors there is power, but they have no comforter.”