Ralph Waldo Emerson said this quote

The ancestor of every action is a thought.