The three sentences are written correctly, but are not all the same. #1 and #2 mean the same; but #3 is different. In the first two sentences, the person speaking is warning someone that it would be foolish.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.