וַיִּנָּֽגְע֛וּ יְהוֹשֻׁ֥עַ וְכָל־יִשְׂרָאֵ֖ל לִפְנֵיהֶ֑ם וַיָּנֻ֖סוּ דֶּ֥רֶךְ הַמִּדְבָּֽר׃
Jozue zaś i wszystek Israel pozwolił się im pobić i uciekali drogą ku puszczy.
Rashi on Joshua
Pretended to be stricken. This is an expression of נֶגַע, plague, or beating. They gave the appearance of being beaten before them.