Pandemic showed just how much people need each other, pope says