moses told his people to seek help from god and exercise patience. the earth belongs to him and he has made it the heritage of whichever of his servants he chooses. the final victory is for the pious ones.
قال موسى لقومه استعينوا بالله واصبروا إن الأرض لله يورثها من يشاء من عباده والعاقبة للمتقين