So 1) The verse is located in Luke 19:27 and not in Matthew and 2) the death penalty for unbelievers is well before Christianity, look :
"If thy brother, the son of thy mother, or thy son, or thy daughter, or the wife of thy bosom, or thy friend, which is as thine own soul, entice thee...