And when they came to Marah, they could not drink of the waters of Marah for they were bitter: therefore the name of it was called Marah. And the people murmured against Moses, saying, What shall we drink? And he cried unto the Lord, and the Lord showed him a tree, which when he had cast into the waters, the waters were made sweet. (Ex. 15.23-25)
Isaac Barrow, The Works of Isaac Barrow, Vol. 1 (Sermon II: The Profitableness of Godliness), pp. 12-13:
Such a wondrous virtue hath piety to change all things into matter of consolation and joy. No condition in effect can be evil or sad to a pious man: his very sorrows are pleasant, his infirmities are wholesome, his wants enrich him, his disgraces adorn him, his burdens ease him; his duties are privileges, his falls are the grounds of advancement, his very sins (as breeding contrition, humility, circumspection, and vigilance) do better and profit him: whereas impiety doth spoil every condition, doth corrupt and embase all good things, doth embitter all the conveniences and comforts of life.