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

Somali sentence: 22 Markaasaa Muuse yeelay sidii Rabbigu ku amray, oo wuxuu soo waday Yashuuca, kolkaasuu soo hor taagay wadaadkii Elecaasaar ahaa iyo shirkii oo dhan.
22 Moses did as the Lord had commanded. And when he had taken Josue, he set him before Eleazar the priest, and all the assembly of the people,