It is an interesting comparison to Matthew 5:27-29
27 “You have heard that it was said, ‘You shall not commit adultery’; 28 but I say to you that everyone who looks at a woman with lust for her has already committed adultery with her in his heart. 29 Now if your right eye is causing you to sin, tear it out and throw it away from you; for it is better for you to lose one of the parts of your body, than for your whole body to be thrown into hell."
JESUS is GOD and His word is true. We have to look at the Bible in its entire context and not just one verse, that's why there are people trained to teach and minister the word of GOD to people. For example add the meaning of this verse below to the meaning of the verse above.
17 "For God sent not his Son into the world to condemn the world; but that the world through him might be saved."