Have you examined this in yourself? Some people swear out of rage, fear, lust, pride, and many other defects. The important thing is to reflect on if we swear, why, and in what circumstances, so through comprehension we annihilate our faults.
For thirty years I sought God. But when I looked carefully I found that in reality God was the seeker and I the sought. -Bayazid al-Bastami