Anas said: When the Messenger of Allah (May peace be upon him) went to his bed, he would say: Praise be to Allah who has fed us, given us drink, satisfied us and given us refuge. Many there are who have no one to provide sufficiency for them, or give them refuge.
This hadith teaches us that we should always be grateful and appreciative of what we have been given by Allah as it could easily have been taken away from us at any moment. It also encourages us to think about those who are less fortunate than ourselves and help them in whatever way possible so that they too can experience some comfort in their lives.