Here is the statement from the Westminster Larger Catechism on the third commandment in the Ten Commandments. That is, the law should not be used to earn our way into heaven. But the law points us to Christ who perfectly obeyed the law of God. No mere man can perfectly obey the law of God. But Christ did. We need the righteousness of Christ alone in His unified merit in His life and death alone in the blessedness of His majestic and bodily resurrection. So, then, let us use the law to repent of where we have failed.
Q. 113. What are the sins forbidden in the third commandment?
A. The sins forbidden in the third commandment are, the not using of God’s name as is required;[579] and the abuse of it in an ignorant,[580] vain,[581] irreverent, profane,[582] superstitious[583] or wicked mentioning or otherwise using his titles, attributes,[584] ordinances,[585] or works,[586] by blasphemy,[587] perjury;[588] all sinful cursings,[589] oaths,[590] vows,[591] and lots;[592] violating of our oaths and vows, if lawful;[593] and fulfilling them, if of things unlawful;[594] murmuring and quarrelling at,[595] curious prying into,[596] and misapplying of God’s decrees[597] and providences;[598] misinterpreting,[599] misapplying,[600] or any way perverting the Word, or any part of it;[601] to profane jests,[602] curious or unprofitable questions, vain janglings, or the maintaining of false doctrines;[603] abusing it, the creatures, or anything contained under the name of God, to charms,[604] or sinful lusts and practices;[605] the maligning,[606] scorning,[607] reviling,[608] or any wise opposing of God’s truth, grace, and ways;[609] making profession of religion in hypocrisy, or for sinister ends;[610] being ashamed of it,[611] or a shame to it, by unconformable,[612] unwise,[613] unfruitful,[614] and offensive walking,[615] or backsliding from it.[616].
These things are forbidden in the Ten Commandments in “Thou shalt not take the Lord’s name in vain…”