Rejoice or cry?

Q: I am confused: our military operation in Gaza is succeeding but there are also Jews who are being killed, which is extremely distressing. Should we rejoice or cry?
A: We need to distinguish between the community and the individual. There are communal calculations and personal calculations which are not always the same. The majority of the time, we are concerned for both the community and the individual, but there is occasionally an exception such at a time of war. During a war, the national goal overrides the individual's needs. The individual displays self-sacrifice for the national goal. Regarding the question, we are both rejoicing and crying. The Halachah says that if a person is happy he recites "Shehechiyanu" and if he is sad he recites "Dayan Ha-Emet." What is the law if one's wife gives birth to a boy and she dies in childbirth? He recites two blessings: "Shehechiyanu" and "Dayan Ha-Emet" (see Bereachot 59b). They are two different calculations and we do not mix them together. Is the husband not sad about his wife because a baby was born to him? And is the father not happy about his new child baby because his wife died? He has both feelings. Therefore, we are sad for those who have been killed and wounded but this does not affect our joy over our accomplishments. Our operation is succeeding and it is a great victory. One officer said: it will take years for them to reconstruct what we have destroyed. In the war of the Maccabees, people were killed, but we still rejoice. The same is true with the war for the conquest of Israel and all of the wars. Therefore, we are sad for the killed and wounded and we rejoice over Tzahal's accomplishments.