James 5: 9 - 12
9 Do not grumble, brethren, against one another, that you may not be judged; behold, the Judge is standing at the doors.
10 As an example of suffering and patience, brethren, take the prophets who spoke in the name of the Lord.
11 Behold, we call those happy who were steadfast. You have heard of the steadfastness of Job, and you have seen the purpose of the Lord, how the Lord is compassionate and merciful.
12 But above all, my brethren, do not swear, either by heaven or by earth or with any other oath, but let your yes be yes and your no be no, that you may not fall under condemnation.

EWTN