Contradiction with Genesis 38:6
This verse introduces Tamar, who was Judah's daughter-in-law, which aligns with 1 Chronicles 2:4, but there is no direct contradiction with the number of Judah's sons mentioned.
Genesis 38:6: And Judah took a wife for Er his firstborn, whose name [was] Tamar.
Contradiction with Genesis 38:29-30
These verses narrate the birth of Pharez and Zerah to Tamar, emphasizing the offspring's questionable circumstances, but they do not directly contradict the statement about Judah's sons being five in total when other scriptures are considered.
Genesis 38:29-30: And it came to pass, as he drew back his hand, that, behold, his brother came out: and she said, How hast thou broken forth? [this] breach [be] upon thee: therefore his name was called Pharez. [How hast...: or, Wherefore hast thou made this breach against thee?] [Pharez: that is A breach]
Contradiction with Numbers 26:21
This verse lists the descendants of Pharez, without contradicting the total number of Judah's sons but expanding on the family lineage.
Numbers 26:21: And the sons of Pharez were; of Hezron, the family of the Hezronites: of Hamul, the family of the Hamulites.
Contradiction with Genesis 46:12
This verse mentions the sons of Judah, Er, Onan, Shelah, Pharez, and Zerah. Er and Onan died in Canaan, aligning with the count 'all the sons of Judah were five', when considering living descendants, thus does not present a contradiction.
Genesis 46:12: And the sons of Judah; Er, and Onan, and Shelah, and Pharez, and Zerah: but Er and Onan died in the land of Canaan. And the sons of Pharez were Hezron and Hamul.