Yeah you're right about this, but it isn't irrational. Human societies have been as successful as they have because of social contracts. The phenomenon you're highlighting here is just society's immune system to protect itself against violators of those contracts.