And they only had infection avoidance behaviors and their genes to protect them. From the Smithsonian;

Over 20,000 Years Ago, a Coronavirus Epidemic Left Marks in Human DNA | Smart News | Smithsonian Magazine