Deuteronomy 5:11

You shall not use the name of the Lord your God in vain. For he will not go unpunished who takes up his name over an unimportant matter

Other versions

King James Version

Thou shalt not take the name of the LORD thy God in vain: for the LORD will not hold him guiltless that taketh his name in vain.

English Standard Version

"'You shall not take the name of the LORD your God in vain, for the LORD will not hold him guiltless who takes his name in vain.

New International Version

"You shall not misuse the name of the LORD your God, for the LORD will not hold anyone guiltless who misuses his name.