Even in self-defense, in war as a soldier, the death penalty, the battles that God commanded the Israelites to do, the animal sacrifices they made, the animals they ate?
I think that passage needs a little subtlety to its interpretation. What about English peas? Can we kill them? I like the “thou shalt not murder” interpretation
Gospel of Thomas? Well if it is Gnostic, then yeah, it is wrong. And in any event, it is not in the Bible, and so is not authoritative.