Israeli soldiers barely get paid. It's more of an allowance and most of them rely on their parents during those 3 years. Then again, they do get fed, and they get a roof over their head when needed. There have been a lot of talks about switching to a professional army. Not sure if that's a cheaper option, but currently there's a lot of hidden unemployment in the IDF, which often looks bad. But still, taking all of that into account, I think the effect on society is worth it.