They didn't, though. Plenty of people who had one reputation at their death have had that reputation change over time, especially with more information and awareness of what they did. Sometimes their reputations improve, sometimes they decline.
Speaking only positively about people distorts the reality.