God gave you a brain. Use it.
We are hardwired to procreate. Every man and woman of age on this earth will look on attractive people of the opposite sex and their thoughts will shift. It is not Satan that is shifting their thoughts. It is human biology - the very workings of the machine which God created.
Acting upon perfectly normal thoughts and thinking about them are two entirely different things. Please don’t equate them.
“God gave you a brain. Use it.”
God gave you a Bible. Use it.
We are not forbidden - indeed we are designed - to be attracted to the opposite sex. That’s on one side of the continuum - using pornography is way on the other end.
Jesus did not make mistakes, and His teaching is correct.