4
The family line of Joel includes his son Shemaiah. Gog was the son of Shemaiah. Shimei was the son of Gog.
1 Chronicles 5:4 Meaning and Commentary
Ver. 4,5. The sons of Joel Who was either the son of Carmi last mentioned, or rather of Hanoch, Reuben's firstborn, since the descendants of him were the princes of the tribe: his posterity in succession were, Shemaiah, Cog, Shimei, Micah, Reaia, Baal, Beerah; of whom we know no more than their names, and by these the descent is carried down to the captivity by Tiglathpileser, as follows.