Passage
and Salmon became the father of Boaz, and Boaz became the father of Obed,
and Salmon became the father of Boaz, and Boaz became the father of Obed,
Ruth 4:19 and Hezron became the father of Ram, and Ram became the father of Amminadab,
Ruth 4:20 and Amminadab became the father of Nahshon, and Nahshon became the father of Salmah,
Ruth 4:21 and Salmon became the father of Boaz, and Boaz became the father of Obed,
Ruth 4:22 and Obed became the father of Jesse, and Jesse became the father of David.
The verse centers on "salmon", "became", "father", "boaz", and "obed". It is saying that the verse draws attention to "salmon" and "became", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 20's "and Amminadab became the father of Nahshon..." into verse 22's "and Obed became the father of Jesse...", so "salmon" and "became" belong inside that flow. In Ruth context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "salmon" and "became" with trust shaped by these words, not by a vague optimism outside the passage.