A student of mine asked me why God (in the Old Testament) killed people. The example he used was when the Egyptians were killed to save the Israelites. He said, “That makes God a hypocrite because He’s supposed to love everyone.” How should I respond to that?
I’m not even sure if Scripture says God loves
everyone, but I hardly think it would be loving to allow the Egyptians to get away with injustice and idolatry. Keep in mind the fact that society at the time of the Israelites was centered around a different kind of love than we think of today - that is, true,
agape love. This kind of love is taking of action that best benefits the community as a whole, or the “common good”, as opposed to the individual-centered society we have. (This is the kind of love that drives a “mama bear” to do whatever it takes to protect her cubs.) This is because the Israelites were in far greater danger of being destroyed by an evil attitude; they did not have the Catholic Church, against which the gates of hell will not prevail. If exceedingly strict punishments were necessary to preserve a God-fearing society, so be it. Nowadays, we are in no such dangers. This is why we are so shocked by the stories of the great flood and the Passover.
Consider, also, the great power and influence Pharaoh had in Egyptian society. Most Egyptians were probably indoctrinated into believing his word was law and that he was a god. As such, they most likely would agree to not let the Israelites go; it’s not as if Pharaoh was evil and every other Egyptian was completely innocent. Keep in mind, as well, God’s promise to Abraham (I think?) that He would not destroy Sodom if He found just a few innocent people. It is probably implied that, when God did send the angel of death, few, if any, of the Egyptians were innocent.
Of course, this is all just my explanation. A priest or apologist on this site could probably help you out.