The thoughts and intents (imagination) can be corrupted by the company we keep

[Psalm 140:1-4] Deliver me, O LORD, from evil men; Preserve me from violent men, Who plan evil things in their hearts; They continually gather together for war. They sharpen their tongues like a serpent; The poison of asps is under their lips. Selah Keep me, O LORD, from the hands of the wicked; Preserve me from violent men, Who have purposed to make my steps stumble.