It refers to any oath made to God. An oath made on a Bible is an oath to God. If not, then use a dictionary for the same affect.
There is a difference between swearing an oath to obey God and swearing an oath before God.
The passages are not only about an oath to obey God, but about oaths in general. Your opinion is not what the words plainly say and mean. Many government rituals are sanctioned by popular Christian-flavored churches and used in the same way - as behavior control and loyalty tests. Demanding an oath as proof of fealty turns believers away from God by keeping them overly concerned about whether someone else has followed a ritual correctly instead of focused on their own behavior.
Ritual can be comforting, but it can also be a social disruption and cause dissent where there should be none.
Oaths, pledges, swearing in, etc.; None have anything to do with God.
You left out the preceding 3 versus which clearly give the context. It is very clear that Matthew is saying to not swear an oath to obey God. Just obey God, no oath needed. And that giving an oath to obey God is not only unnecessary but virtue signaling, which is evil.
The bible does not condemn oaths.
(post is archived)