To what extent? Being too tired and exhausted to have negative thoughts doesn't necessarily mean that exercise itself is a fundamental solution.
It’s no that you won’t face depression and anxiety but now you have groked the skills in your body, you are able to answer it with action and not just give mental arguments.