This is a very clear error in the simplest transitive logic. Should you keep failing to realize that further, you should probably study what “good” means from an ethical viewpoint.
The narrative of a fiction doesn’t necessarely relate to reality. Specially not the one of this game. It feels as if you’re in the good old “rain isn’t rain if I don’t get wet” mentality. Just because your character or family do not get personal benefit from doing the good deed does not make the deed bad. Or, perhaps there is no desition that can be properly classified as good.