People use a variety of, both positive (e.g. ذِكْر) and negative (e.g., drugs), therapeutic methods to escape the dread that comes with life's inevitable trails and tribulations. As a positive method, Graham Green, the English writer and journalist, suggested writing as a form of therapy.
Green reportedly said:
Writing is a form of therapy; sometimes I wonder how all those, who do not write [...] or paint can manage to escape the madness, the melancholia, the panic [and] fear, which is inherent in the human condition.