petr, i'm reminded of this tale by yours...
a famous rabbi and his student were traveling, and on their travels, the spent the night in the home of a very poor couple.
the couple shared what little they had with joy and pleasure, but in the morning, as the rabbi left their only possession of value, a cow, was found dead.
a little farther along in their journey, they spent the night at a rich man's house
he treated them with disdain, fed them on crusts and housed them in a stable.
in the morning, as the rabbi left he noted a hole in the rich man's wall
so the rabbi paid a mason to fix it.
the student found this to be too much to bear and spoke to the rabbi, asking if these events were in any way just.
the rabbi patiently explained that the poor man's wife was destined to die that night, but because of their hospitality, the cow was taken in her place.
and that behind the crack in the rich man's wall was a sack of gold which he would have found had he repaired the wall himself.