Matthew 18:8 - 9
NKJV - 8 If your hand or foot causes you to sin, cut it off and cast it from you. It is better for you to enter into life lame or maimed, rather than having two hands or two feet, to be cast into the everlasting fire. 9 And if your eye causes you to sin, pluck it out and cast it from you. It is better for you to enter into life with one eye, rather than having two eyes, to be cast into hell fire.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.
Jesus is saying that anything that causes you to sin to impact
your relationship with god, you should not have it in your life