Although the law of Moses promoted capitol punishment, Jesus quoted that law to those under the law. Later, He died, not to destroy the law, but to set us free from the law of Moses. We are not under the old covenant, or OT law.
The NT argument for capitol punishment is found in Romans 13:4, which says that civil goverment exists to execute wrath on evil doers. Then it mentions the Roman sword.