This saying is often attributed to Reinhold Niebuhr, an American theologian and ethicist, though its exact origin is uncertain.
It is a powerful reminder to focus our energy on what we can control, accept what we cannot change, and discern between the two.