Matthew 5:28 tells us that Jesus taught that if you even think of doing something sinful then you are guilty of the sin.
Then go ahead and condemn everyone. Because no one is perfect. That’s why Catholics have confession.