The Constitution specifically says that you are wrong. Like it or not, the Constitution itself lays out an alternative to swearing before God. Blame the founders if you don't like it, but it's in black and white.
not exactly Melas- by serving in this country- you either swear an oath or Affirm (you are affirming before the people as your witness) that you agree to be bound by by oath before God- so help you God as the oath ends in. The affirmation was a way around the actual oath for the quakers who didn't make the oath directly to God, but would agree to be bound by the oath before God- it was a technicality that exempted quakers from making direct oaths to God which they were against. The understanding however was still that they were bound by the oath and would suffer the consequences, both earthly and heavenly if they broke their word.
Not that ANY of this even makes a differnecei n this society today because people simply don't care (at least not here on earth) if they break their oaths any longer. There is no shame anymore, and matters of seriousness such as swearing before God no longer have the importance they once did- But I assure you all those who swore and broke their word will be held accountable in the end. The fact that it doesn't happen immediately on this earth (as it used to) has caused many people to feel they are safe if they break their word- however, the reality will be quite a shock when they meet the One they broke their word to. The shamlessness that we have sunk to is quite frankly despicable and unpatriotic.