1 Kings 11:15-17

MSB(i) 15 Earlier, when David was in Edom, Joab the commander of the army had gone to bury the dead and had struck down every male in Edom. 16 Joab and all Israel had stayed there six months, until he had killed every male in Edom. 17 But Hadad, still just a young boy, had fled to Egypt, along with some Edomites who were servants of his father.