Given a sentence in Somali language, translate the sentence to English language keeping the meaning of the original sentence intact

Somali sentence: 17 Haddaba waxaa isaga u ekayd inuu wax walba ugu ekaado walaalihiis, inuu wadaad sare oo naxariis iyo aamin badan leh u noqdo xagga waxyaalaha Ilaah, si uu cadhotir ugu noqdo dembiyada dadka.
17 Wherefore it behoved him in all things to be made like unto his brethren, that he might become a merciful and faithful priest before God, that he might be a propitiation for the sins of the people.