There was always a core group sitting in learning and not heading to battle. At that time it happened to have been shevet Levi. Moshe himself was from that shevet. When he criticized bnei gad ubnei reuven , they didnt respond with : “hypocrite, your own shevet sits back and reads these books all day while others must fight your battles and put our lives at risk? Why should we do it?”
That wasnt even something they would think of because it was a given that the zechus Hatoirah was necessary. Halevai that would be understood these days.
This episode of Bnei gad ubnei reuven that everyone loves to quote as proof that we should draft the bnei hayeshivos ,is ironically a raaye farkert.