What role does gratitude play in maintaining faith during hardship?