This is not a stereotypical western. Rather, it is an insightful portrayal of mob rule. This story shows how hard it is to go against popular consensus, how sometimes charismatic people lead others astray, and how acting on incomplete or false information can lead to a tragic outcome.
There is a good reason why this book is considered one of the best books in its genre. It's powerful.