Taking up arms to defend the nation allows an exception for religious reasons.
hope this helps
9.5m questions
12.2m answers