I strongly disagree with the title.
Some of the greatest bits of wisdom have been brought forth by misery. I would even say that almost nothing is more likely to bring it forth.
That doesn't mean that every instance of misery brings wisdom.
In the Greek- sophia means both knowledge and suffering