Question: where in the bible does it talk about guarding your heart?
Answer: Proverbs 4:23-27 – Above all else, guard your heart, for everything you do flows from it. Keep your mouth free of perversity; keep corrupt talk far from your lips.