Assyriologist A. Leo Oppenheim also saw parallels between Idrimi and King David of Judah. Idrimi stayed for seven years among Hapiru warriors. After seven years, the god Addu or Teshub became favorable to him and he started building ships. The king Barattarna was hostile to him for seven years. In the seventh year Idrimi launched negotiations with Barattarna. He also gathered spoils from seven Hittite cities and built his own palace. David had a similar pattern with the number seven too. He was the youngest of seven sons of Jesse. He stayed seven years in Hebron before conquering a Jebusite fortress outside of Jerusalem and renaming it the "City of David." He also offered the elders of Judah gifts from spoils won during the raid, while Idrimi raided the seven Hittite towns and gave those spoils to his allies as mentioned in his inscription.