2:3–4:23 While the genealogies present the entire people of Israel (2:1-2), David’s ancestors in the tribe of Judah receive priority.
2:3-8 The genealogy of Judah is as comprehensive as possible, recording peripheral material as the background to the main line of David’s ancestors. Cp. Gen 46:12.
2:3 Er and Onan, the first two sons of Judah, were destroyed because of their sin (Gen 38:6-10). The descendants of Shelah are listed as an appendix at the end of the genealogies of Judah (1 Chr 4:21-23).