The main central idea of Ruth is that God does not abandon foreigners, but cares and takes care of all those who take refuge, no matter what nationality.
In the story, whether Boaz meets Ruth, Naomi's plan, or the responsibility of the closest relatives, it is under God's control. Although drought and sadness bring people, infertile people will have children and reward them to those who trust them.