In Genesis 16:1-3 (NASB) we read that after 10 years Sarai have Hagar to Abram
Now Sarai, Abram’s wife, had not borne him a child, but she had (B)an Egyptian slave woman whose name was Hagar. 2 So Sarai said to Abram, “See now, the Lord has prevented me from bearing children. Please have relations with my slave woman; perhaps I will obtain children through her.” And Abram listened to the voice of Sarai. 3 And so after Abram had lived ten years in the land of Canaan, Abram’s wife Sarai took Hagar the Egyptian, her slave woman, and gave her to her husband Abram as his wife.
Then, in Ruth 1:4 (NASB), even though Ruth was married for 10 years she didn't conceive
And they took for themselves Moabite women as wives; the name of the one was Orpah, and the name of the other, Ruth. And they lived there about ten years.
Was Ruth barren like Sarai?