Reminds me of the first pair of verses of the Dhammapada (words of the Buddha from ~2500 years ago. … allegedly):
Mind precedes all mental states.
Mind is their chief; they are mind-made.
If with an impure mind a person speaks or acts, suffering follows him like the wheel that follows the foot of the ox.
.
Mind precedes all mental states.
Mind is their chief; they are mind-made.
If with a pure mind a person speaks or acts, happiness follows him like his never-departing shadow.