Reinhold Niebuhr said this quote

God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference.