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

Somali sentence: 2 Oo waa inaad xusuusataan jidkii uu Rabbiga Ilaahiinna ahu afartankan sannadood idinku soo dhex mariyey cidladii, si uu idiin hoosaysiiyo oo idiin tijaabiyo si uu u ogaado wixii qalbigiinna ku jiray, bal inaad amarradiisa xajinaysaan iyo in kale.
2 And thou shalt remember all the way through which the Lord thy God hath brought thee for forty years through the desert, to afflict thee and to prove thee, and that the things that were in thy heart might be made known, whether thou wouldst keep his commandments or no.

Somali sentence: 28 Oo dadkii dalka Israa'iil oo dhammuna way wada maqleen xukunkii boqorku wax ku xukumay, wayna ka baqeen boqorkii; maxaa yeelay, waxay arkeen in xigmaddii Ilaah ku jirto si uu wax u xukumo.
28 And all Israel heard of the judgment which the king had judged; and they feared the king: for they saw that the wisdom of God was in him, to do judgment.

Somali sentence: 3 oo idinkuna waad aragteen kulli wixii Rabbigu quruumahan oo dhan ku sameeyey idinka aawadiin; waayo, kan idiin diriray waa Rabbiga Ilaahiinna ah.

3 And you see all that the Lord your God hath done to all the nations round about, how he himself hath fought for you: