Imagining acts of lust in your heart is commiting adultry

[Matthew 5:27-28] You have heard that it was said to those of old, You shall not commit adultery.’ But I say to you that whoever looks at a woman to lust for her has already committed adultery with her in his heart.