legacy? He is leaving office with an extremely divided  country, terrible race problems, health care a disaster. 
More than anyone else he is concerned about his legacy.
His arrogance ,  weakness  in foreign affairs  is what he will be remembered for, some legacy