Yes, the women is very wise indeed, because no matter how precious the stone is, in a place with no food, a precious stone is no different than a stone, food is more important to keep us going in our life, so no point holding the stone which is more like a burden instead.
Few days after the traveler took the stone, he realize the same theory and that is the reason why he went back to return the stone and ask for something else instead, which is food.
Because the lady is not attach to it, that’s why she created the cause to get it back, when we don’t have the karma to own something, no matter how hard we hold onto it, we will still lose it anyway. So letting go is the best action.