birthright

The birthright was Joseph’s?

The birthright was Joseph’s?

“yet Judah prevailed over his brothers, and from him came a ruler, although the birthright was Joseph’s-
(1 Chronicles 5:2)
My understanding is the birthright goes to the firstborn of the first wife, and if something happens where that can…