We can see this in the genetic signature of a coronavirus-like epidemic thought to have occurred 20,000 years ago. "We have found the variants that helped the South-east Asian populations respond to [a coronavirus-like epidemic] have a role today in shaping the susceptibility and the risk for a person to get severe COVID today."

Really fascinating, also for the plague itself, the evolutionary trade off where you can survive that event but then be rendered obsolete in the future.

One of the genetic benefits of having survived the Black Plague is a stronger than average immune system when you contract HIV.

My Uncle contracted it in the early 1980s. And, as of his death a year ago, he never converted. He donated massive amounts of blood. They also took blood from his side of the family (me included) to look for the genetic markers that indicate you survived the plague.