Genesis 24:3shava
and I will make you swear by the Lord, the God of heaven and the God of earth, that you shall not take a wife for my son from the daughters of the Canaanites, among whom I live,
Abraham has his servant swear by the Lord, showing a solemn oath.
Jeremiah 4:2shava
And you will swear, 'As the Lord lives,' In truth, in justice and in righteousness; Then the nations will bless themselves in Him, And in Him they will glory."
Oaths in God's name should be made in truth and justice.
Hebrews 6:13omnumi
For when God made the promise to Abraham, since He could swear by no one greater, He swore by Himself,
God, having no one greater, swore by himself to Abraham.
James 5:12omnumi
But above all, my brethren, do not swear, either by heaven or by earth or with any other oath; but your yes is to be yes, and your no, no, so that you may not fall under judgment.
James says not to swear, but let yes mean yes.
1 Kings 1:51shava
Now it was told Solomon, saying, "Behold, Adonijah is afraid of King Solomon, for behold, he has taken hold of the horns of the altar, saying, 'Let King Solomon swear to me today that he will not put his servant to death with the sword.'"