According to the lyrics, “I swear” it’s the reason “I Shot The Sheriff”

Answer: In self-defense