It isn't. The point of a biography to make the most accurate retelling of someone's life. It's not up to you to make them seem like a good person.
While an autobiography is written by one's own self, they do have the ability to make themselves seem better than they really are, since they would be really only be the person who knows of it.