הָפַ֣כְתָּ מִסְפְּדִי֮ לְמָח֪וֹל לִ֥י פִּתַּ֥חְתָּ שַׂקִּ֑י וַֽתְּאַזְּרֵ֥נִי שִׂמְחָֽה׃
Thou didst turn for me my mourning into dancing; Thou didst loose my sackcloth, and gird me with gladness;
Read Jewish philosophical commentary on Psalms 30:12: and classical philosophical sources.