Salmon was the father of Boaz (whose mother was Rahab).
Boaz was the father of Obed (whose mother was Ruth).
Obed was the father of Jesse.
Jesse was the father of King David.
David was the father of Solomon
(whose mother was Bathsheba, the widow of Uriah).
—
Jacob was the father of Joseph, the husband of Mary.
Mary gave birth to Jesus, who is called the Messiah.