Thousands of youngsters have joined the army since October 7 — and it is illegal to refuse. Sofia Orr is likely to become the first woman since then to be jailed for refusing military service, but believes it is ‘wrong to take children and make them into soldiers’
Conscientious objectors are not jailed.
Anyone can just do community service roles instead of the military. Sounds like only people who completely refuse to help out at all are punished.
https://en.wikipedia.org/wiki/Sherut_Leumi
Your point was already refuted in the article from amnesty I linked.