Tamar was from Canaan; Rahab was from Jericho in Canaan; Ruth was from Moab; and Bathsheba probably was from Judah, but she’s called “her that had been the wife of Uriah”—she’s identified by her marriage to Uriah, Uriah the Hittite. So we have three Gentiles and someone who’s connected to Gentiles, even though the purpose of Jewish genealogies was to emphasize the purity of one’s Israelite ancestry.