Does the Bible support the death penalty?

Does the Bible support the death penalty?

Oh yes, very much, who killed all sinners and sentenced fallen man to die?

Genesis 9:6 shows the death penalty being instituted by God. A penalty to be applicable to assassins. The penalty for those who are assassins is justified by the reason that man is created the image of God the Creator and Life Giver

Since we are now living under grace does that mean the death penalty is also set aside?