It is a common misconception that "Thou shalt not lie" is a divine commandment from God. You're probably thinking of "Thou shalt not bear false witness against your neighbor" (Exodus 20:16), which is more specific.
It should be probably read something like : don't swear to untrue things about your countrymen.