How could God kill all the firstborn of Egypt?

The Exodus. It was the greatest act of deliverance in the Old Testament. So many Old Testament writers refer back to this great act of God and praise Him for loving His people and delivering them from slavery. But there is a question that comes up with the 10th plague, that of God killing all the…