The Dhammapada · Buddhism

Dhp 36-38 · Thought

Let the wise man guard his thoughts, for they are difficult to perceive, very artful, and they rush wherever they list: thoughts well guarded bring happiness. Those who bridle their mind which travels far, moves about alone, is without a body, and hides in the chamber (of the heart), will be free from the bonds of Mara (the tempter). If a man's thoughts are unsteady, if he does not know the true law, if his peace of mind is troubled, his knowledge will never be perfect.

Tr. F. Max Muller, 1881 · public domain

Closest in the Urantia Papers

Close in meaning, found by a language model. A match does not mean the teachings are the same.