Matthew
Matthew 1:5ESV·traditional attribution

and Salmon the father of Boaz by Rahab, and Boaz the father of Obed by Ruth, and Obed the father of Jesse,

Matthew Henry Presbyterian @wholebiblehenry

Concerning this genealogy of our Saviour, observe, I. The title of it. It is the book (or the account, as the Hebrew word sepher, a book, sometimes signifies) of the generation of Jesus Christ, of his ancestors according to the flesh; or, It is the narrative of his birth. It is Biblos Geneseò„s - a book of Genesis.

Commenting on Matthew 1:1-17

Albert Barnes Presbyterian @notesbybarnes

Verse 5: No specific Barnes text on this verse. (m) "begat Booz of Rachab" (n) "begat Obed of Ruth"

William Burkitt Anglican @expositoryburkitt

Observe, Here are several women mentioned in our Savior's genealogy, and all, or most of them, have a brand of infamy upon them. Thamar was one, with whom her father-in-law, Judah, committed incest; Rahab is called an harlot; Ruth came of Moab, whom Lot begat of his own daughter; and Bathsheba, the wife of Uriah, was one with whom David had committed adultery.