Exercise has some huge physiological and psychological benefits [0]. It won’t immediately cure serious mental illnesses, but it definitely doesn’t hurt.
Anecdotally, my mental health is much better with a good diet and some physical exercise every week.
[0]https://cursosextensao.usp.br/pluginfile.php/834363/mod_reso...