The long-standing arrangement has bred resentment among the broader public, a sentiment that has grown stronger during the eight-month war against Hamas. Over 600 soldiers have been killed in fighting, and tens of thousands of reservists have been activated, upending careers, businesses and lives.

Ultra-Orthodox parties and their followers say forcing their men to serve in the army will destroy their generations-old way of life. Earlier Sunday, thousands of men crowded a square and joined in mass prayers. Many held signs criticizing the government, with one saying “not even one male” should be drafted.