It means that even in difficult or challenging situations, there is always something positive or hopeful to be found.
Let me know if you'd like to know more about the origin of this proverb!