Above all, my friends, do not use an oath when you make a promise. Do not swear by heaven or by earth or by anything else. Say only "Yes" when you mean yes, and "No" when you mean no, and then you will not come under God's judgment. 1
References for James 5:12
5.12 Mt 5.34-37.