Is swearing 'bad'? No. Is swearing necessary? Usually not. The vast majority of folk who use such words simply do so because they think they are part of everyday language - perhaps using them without even realising that they are. In such cases, it tends to indicate a limited vocabulary.
If, they are used sparingly, though, they can be impactful - but I would still rather use more unusual non-swear words for this purpose.