Does God support the death penalty?

Israel’s justice system as presented in the Torah