The family line of Joel includes his son Shemaiah. Gog was the son of Shemaiah. Shimei was the son of Gog.