"May your family be like the family of Perez." This was a blessing.
Tamar was also a widow. Judah fathered a son with her, which continued the family name.