Going by Peasblossom's quote, God is not out to punish. The CoVid virus, in any case, is a natural phenomenon, not "sent by God" . It came about because of a combination of circumstances - the presence of various viruses in animals and humans, the close coexistence of those viruses where humans and animals were living at close quarters, the ability of viruses to combine and exchange genetic material, and the human habit of exploring and visiting other places, made easier and quicker by efficient modern transport and the availability of the energy sources to do so.
Centuries ago, travelling was expensive and hard work, and it took a long time to get from A to B. If you caught a disease while in a foreign land, you probably died and were buried there, or you died on the way home and were buried at sea. Perhaps those unexplained abandoned ships (Marie Celeste etc) had held people who died one by one and were pitched overboard, and the last one fell over the side?
With improvements in boat design and more exploration it was more likely that a disease rampant in one country spread to another, and more concentrated centres of population spread it faster. Air travel takes people round the globe in the time it took to travel a few hundred miles, and the fashion for holidays and stag/hen parties in exotic places meant more and more people regard the world as their back garden. That spreads illnesses as well as a taste for new foods!
God isn't to blame for human actions.