He had warned Solomon specifically about worshiping other gods, but Solomon did not listen to the lord’s command.