Exceptions defiantly exist, but it’s a very common reaction.
Real rough shit.
In my memory, my impression of Yeager's brief anecdote was that "the pilot heroically sacrificed himself to save the lives of innocents on the ground" was a common enough bullshit news story that he wanted to debunk it. A pilot would be focused on saving himself and his aircraft to the fullest extent possible.
There are many incidents that prove this wrong. The comment above yours is one example.
> There are many incidents that prove this wrong.
No, there aren't, and your saying so is just a failure in logic. Literally every instance of a crash would have to play out the way you insist it should, with a pilot taking into account the presence of population centers before ejecting, in order to "prove this wrong." (incidentally, I read your comment about having read every incident report involving an ejection since 1999. This is the sort of comment that, in the absence of further information, arouses skepticism and not trust.)
The tag team duo of MiG pilots who crashed in Michigan a couple of weeks ago didn't even agree on whether it was time to eject. They certainly hadn't placed the plane on some kind of safe trajectory (it landed literally right next to an apartment building). For that matter, maybe that incident is somehow an argument for selfishness: if they hadn't punched out right when they did, they would have been outside the envelope for a safe ejection.
Then, I’ll just tell you in my personal experience in the airplane, I’ve seen 2 pilots risk their lives moving away from a town and not die (luckily) but crash and destroy their airframe. The other pilots I flew with, I’d say 95 out of 100 would do the same.
Maybe Chuck was just a selfish asshole.
One of the things I remember from Chuck Yeager's autobiography (his first one - I think he eventually had several) is that he called bullshit on this. His view was that the pilot was putting all his attention and focus into saving the aircraft, and stories about how the pilot steered a failing aircraft away from something important on the ground were not true.
Of course, after the fact a pilot is going to say he tried to save people on the ground...
(his view might have been cynical, but I expect it often holds true)