The first example I thought of was Bill Gates. He amassed his wealth from a corporation that employed anti-competitive and immoral business practices. That makes him “bad”.
But what he has done with his fortune in the past few decades definitely doesn’t make him a bad person. Is his foundation and its goals the most efficient way to go from point A to point B? Probably not. Does that make him a bad person? Probably not, but it also doesn’t absolve him of sins he committed in the past.