Numbers 25:5 And Moses said unto the judges of Israel, Slay ye every one his men that were joined unto Baal-peor.
The men who went after the other god had to die. Maybe even harder was the fact that the leader had to kill his own men that had made that bad decision.
There is a definite cost to leadership. It is not all easy. If you would lead you must make the hard decisions. Those decisions can cost you friends. You are there to please God not others.