Well, the death penalty did exist in Jesus’ homeland and I don’t recall him specifically condemning it.
Good point, but judging our lives against that of Jesus Christ is at the basis of being a Christian.
The same applies to slavery.