I didn’t know who said it when I was growing up, but, it has held true for me as I walk along this path.
“Watch your thoughts; they become words. Watch your words; they become actions. Watch your actions; they become habit. Watch your habits; they become character. Watch your character; it becomes your destiny.”
There are many places that it could have come from. See here for more info.