What is the use of believing in God if a simple virus makes us panic buy and act selfishly?

excess buying during covid-19 coronavirus pandemic
Shoppers fill their carts at Marjane in Rabat, on March 17. Photo credit: Morocco World News.