Gratitude leads to much-needed hope, joy, pope says at audience