1 Kings 11:20
And the sister of Tahpenes bare him Genubath his son, whom Tahpenes weaned in Pharaoh’s house: and Genubath was in Pharaoh’s household among the sons of Pharaoh. And the sister of Tahpenes bare him Genubath his son, whom Tahpenes weaned in Pharaoh’s house: and Genubath was in Pharaoh’s household among the sons of Pharaoh.
The detail of Genubath being weaned in Pharaoh's house and dwelling among Pharaoh's sons belongs to the larger account of the Lord stirring up Hadad the Edomite as an adversary to Solomon. The adversaries did not rise by chance, but because the Lord removed His protecting care and permitted them to harass and weaken the kingdom. By these adversaries, sent as messages of reproof and severe judgments, the Lord sought to arouse Solomon to a realization of the sinfulness of his course.