Yes, a compass can lead you in the wrong direction. As you know, it features a needle which is made out of a magnetic instrument. So, it can show you the wrong direction when it comes into close contact with another magnet. In such a case, users need to remagnetize the needle using a strong magnet.