How Honest is Too Honest When Writing a Memoir?

How do I navigate that? Writing about difficult things that will paint someone or a group of someones in a really negative light. But at the same time, it's the truth. They always say the truth hurts, right? I mean, if you behave a certain way and hurt people, do you get the benefit of anonymity? I feel like the answer is no.