Stephen Covey said this quote

Between stimulus and response, there is a space where we choose our response.