'Take Oaths' in the Bible
You must revere the Lord your God, serve him, and take oaths using only his name.
You are to fear Yahweh your God and worship Him. Remain faithful to Him and take oaths in His name.
Give ear to this, O family of Jacob, you who are named by the name of Israel, and have come out of the body of Judah; who take oaths by the name of the Lord, and make use of the name of the God of Israel, but not truly and not in good faith.
And it will be that, if they give their minds to learning the ways of my people, using my name in their oaths, By the living Lord; as they have been teaching my people to take oaths by the Baal; then their place will be made certain among my people.
These are the ones who now take oaths in the name of the sinful idol goddess of Samaria. They vow, 'As surely as your god lives, O Dan,' or 'As surely as your beloved one lives, O Beer Sheba!' But they will fall down and not get up again."
And the worshippers of the army of heaven on the house-tops, and the Lord's worshippers who take oaths by Milcom,
But I say to you, do not take oaths at all -- not by heaven, because it is the throne of God,
But most of all, my brothers, do not take oaths, not by the heaven, or by the earth, or by any other thing: but let your Yes be Yes, and your No be No: so that you may not be judged.
Take Oathsnot in Anderson New Testament