1 Chronicles 5:1 - 2
ESV - 1 The sons of Reuben the firstborn of Israel ( for he was the firstborn, but because he defiled his father's couch, his birthright was given to the sons of Joseph the son of Israel, so that he could not be enrolled as the oldest son. 2 Though Judah became strong among his brothers and a chief came from him, yet the birthright belonged to Joseph).
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.