I first heard this more than 20 years ago. It has so many layers of truth that to this day I am still discovering new layers. It has helped me many times through many trials and tribulations. I hope it does the same for you.
God, grant me the serenity
To accept the things I cannot change;
Courage to change the things I can;
And wisdom to know the difference.