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