If a person looks at a woman and wants to sin sexually with her, that person has already had adultery with her in his heart ~Jesus (Matt 5:28)
God’s law was given so people could see how sinful they were. But as people sinned more and more, God’s wonderful grace became more abundant ~Rom 5:20