Although one may infer otherwise from the fact that he often attaches himself to situations and statements that are easy to mock, President Donald Trump does appear to be deeply concerned about his legacy and popularity.
We can see that in the fact that he tends to emphasize the TV ratings of his opponents but it's especially clear in what CNN refers to as his "sir stories." As they explain, this refers to a story the president tells where people supposedly come up to him, call him "sir," and then either heap heavy praise on him or happen to state his exact viewpoint on a political issue.
But while it seems unlikely that most of these "sir stories" happened the way he told them, it's clear exactly how misleading another attempt to shore up his legacy is.