Dhammapada said this quote

Mind is a forerunner of all actions.All deeds are led by mind, created by mind.If one speaks or acts with corrupt mind, suffering follows,As the wheel follows the hoof of an ox pulling a cart.Mind is the forerunner of all actions. All deeds are led by mind, created by mind.If one speaks or acts with a serene mind, happiness follows,As surely as one's shadow.'He abused me, he mistreated me, defeated me, robbed me.'Harboring such thoughts keeps hatred alive.'He abused me, he mistreated me, defeated me, robbed me.'Releasing such thoughts banishes hatred for all time.Animosity does not eradicate animosity.Only by loving kindness is animosity dissolved.This law is ancient and eternal.