Animation sheriff narrates

watched this at school, about a man who comes into a western town wearing badges. hangs around telling stories to the townsfolk, starts to influence them and they all start wearing badges. Sheriff doesn’t what to do about it, eventually he decides to hang him. it was a metaphor about Jesus. made in the 1970s.