Whether you are religious or not, this prayer has a very nice message. It sends the message that you cannot always control everything in your life so you should stop worrying about and embrace the things that you cannot control.
If you do not have complete control over your mental illness it’s okay. Work on the things that you can control and don’t get worked up over the things that you cannot. Embrace your life and strive for serenity.