Verse 15

At that time the portion of birthright, together with the kingly and priestly offices, was removed from the sons of Reuben, for he had profaned his father's bed, and the birthright was given unto Joseph, the kingly office to Judah, and the priesthood unto Levi, because Reuben had defiled his father's bed.