Ruth and the lineage of Mashiach
The “good genetics” framing is the Rabbi’s. The sources below confirm the lineage and that Ruth was a convert and a Moabite princess. They speak of character and soul, not genetics, so the framing is labeled as the Rabbi’s explanation.
The chart
Mashiach comes from the house of David (see “What is Mashiach like?” in the Mashiach tab). Here is how that line runs through a convert:
Ruth was a Moabite princess of very fine character who became the great-grandmother of King David. She and Boaz had a son, Oved, who became the father of Yishai, and David was Yishai’s youngest son. Ruth is remembered as the quintessential convert.
The Rabbi’s explanation: the best from both
One explanation the Rabbi gives for why converts matter is that they bring good genetics into the Jewish people. Mashiach’s lineage shows it: the best of the nations, in Ruth, joined with the best of Israel, in Boaz. The king who redeems the world comes from both.
What the sources emphasize
The traditional emphasis is on Ruth’s character and sincerity. Traditional sources describe Ruth as a sincere convert who embraced Judaism wholeheartedly. The Jewish tradition is that redemption can come from unlikely sources, and that a convert joins the Jewish people fully. A convert is Jewish in every way (see “Is a convert fully Jewish?”).