In this passage James tells believers not to swear by God but instead just practice telling the truth. Let your yes be yes and no be no. Sometimes social pressures push us to respond in ways that we know are untruthful. It takes integrity and practice to tell the truth regardless of the outcome one may receive.