https://www.btstories.com/ruth/
During the time of the judges, a man decided to leave his home in Bethlehem. He took this wife Naomi and their two sons and went to the country of Moab.
Things did not go well there. They lived in Moab for ten years. During that time, the man died, the two sons married Moabite women, and then the sons died. Naomi was left alone with her two daughters-in-law.