Hank screwed up the way he handled he case, but let's not pretend that he and Walt were equivalent. One was killing people and ruining people's lives, the other was not.
Well, in the finale I saw, Walt was finally selflessly honest to Skyler, showed he had conquered his greed when he immediately killed Jack, and proceeded to die to save his friend.
Not a big gesture of conquering greed since he would not be able to get the money to his family and wouldn't be able to spend it himself. And his "friend" only needed to be saved because Walt was trying to have him killed.