Throughout the Inferno ,Dante's states of mind changes drastically from when he first enters hell up to canto V.
As he experience More and More torture and suffering throughout hell,his perspective and attitude is transformed.
Because Ruth left her home land. Everything she ever knew. She left her God's even. This relates to the believers because God wants us to leave everything we have, to follow him and his good ways. Ruth was a symbol of hope.