A man wakes up in the morning and he can't find his hat. He decides that he is going to go to the Temple and steal a hat but after hearing the sermon he is so excited. He goes up to the Rabbi and says, "You saved me. I came here today with the full intention of stealing a hat but after hearing your talk I'm not going to do it!"
"That's great", said the Rabbi, "but what was it about my talk that made you change your mind?"
"Well", said the man, "You spoke about the ten commandments and when you got to the part about 'Thou shalt not commit adultery'...I remembered where I left my hat!!"