**"Your beliefs become your thoughts, your thoughts become your words, your words become your actions, your actions become your habits, your habits become your values, your values become your destiny."**
There's also a more concise version focusing on the three elements you mentioned:
**"When your thoughts, words, and actions are in harmony, magic happens."** (or sometimes "...the world will shake")
The concept comes from ancient Indian philosophy—"mind, word, deed" alignment (_man, karma, vachan_)—which Gandhi would have been familiar with. However, I should note that like many popular quotes, the exact authorship is debated. Some scholars can't trace this specific wording back to Gandhi's verified writings, so it may be inspired by his teachings rather than a direct quote.
The shorter three-part version you recalled—thoughts, words, and actions—is particularly memorable because it captures the essence of integrity: what you think, what you say, and what you do should all point in the same direction.
Is there a particular reason this quote resonates with you? I'd be interested to hear your take on it.