But it stuck with me because my father was always around really nice people and I realised he faced the opposite of the prison effect. If you're consistently nice to people, you end up in the crowd of people with better intentions. It's a selection bias.
Bad people don't end up in prison, not for the most part. Bad intention and crime aren't the same thing.
Also, be careful how you assign "bad". It can either be unethical or illegal, as they are not the same thing.
Bad means someone who would molest a child because it's a new experience or run over a stranger with a car. A business owner who is proud that the people he hires don't make enough money to eat.
Hitmen who consider the people they kill as rats so they don't get emotional scarred by the murder - they're in the 80%. A tyrant who orders a city pillaged and raped to assert dominance, also in the 80%.
But it got me thinking that there are people out there who will stab you just for disagreeing with them. We don't encounter them often because nearly all the people who can't control themselves end up in prison. It's dangerous to assume that people will always act in their own best interest.
Nobody is out to get me. Also, it’s a C+ world out there, with a lot of incompetent people.
Be smart, and be very careful about whether you trust somebody to deliver the outcome that you want. But if they mess it up, come up with some reasons other than “so-and-so is evil” or "so-and-so hates me". It’ll help your state of mind, and also your interactions with them.