Yes, but Biblically Jesus said 'if you just look at a woman in lust, then you have committed adultery with her.'
Laws are spiritual first. That is what Jesus meant. None of us can measure up. We all have thoughts that are not right. He knows that. But when you choose to dwell on them and think on them you are 'owning' them. So also if you think 'I hate her and want to kill her' then spiritually you have!
Because you chose to keep that thought. In an instant we think many things, but thoughts of harm/lust generally mean, i would say, that we have allowed ourselves to get mad/covetious inside, and think on it more than is good.
Obvously having an instant thought that you have no control over, or very little is just one of those things. But Jesus warned against what to fill our mind with because he said 'as a man/woman thinketh so they are' our thoughts make us the people we are.
What he meant in essense was that humans have fallen, they need his help, and nothing and nobody is exempt from that.
We make judgements without thought. Like; 'murderers should go to hell' for example, but who is judge? We have not always understanding of why things happen. That is why he said 'As you judge so shall you be judged likewise the same measure' it was so we would be humble. We have no right to excact judgement, because according to him we are all sinful and we will all be judged individually so there is no impartiallity.
So if we try to live 'love your naigbour as yourself' then you will try to think well of people and treat them well because it is what you would want them to do unto you. Also it is for your protection because God said 'what you sow so shall you reap'
When we catagorize sin we are in danger of saying that one behavior is not as serious as another. That means we are setting rules of permissive behavior but without thought that other cultures may not share our view point! For example some cultures stone women for adultery, while the west sees that as barbaric. But the West allows the third world to starve, slave and die and takes the lives of millions of babies every day in abortion, which the East finds appalling. There are those on both sides of the Irak war who would say murder is being commited, and not war. Which is right? Can we dare to judge them for what they do? Do they dare to judge us? That is what leads to racial, religious and political wars because one side or the other THINK they are right.
That is extreme of course but it does show why God hates ALL sin, because it ultimatly in one way or another kills.
Think; Every act that ever happens on earth has first been a thought. That is scary!
By the way, I point out this is NOT to convert. Just my belief!
It is not meant to offend.