There are also passages in the Bible where God commands that every man, woman and child be killed in a town. There has to be a reason this is said.
Incorrect. Unless you p(name removed by moderator)oint where in the Bible you are talking about, I’m going to assume two parts of it: the Canaanite Genocide and the destruction of Sodom and Gomorrah.
For the Canaanite Genocide, God didn’t command it, He permitted it for the “hardness of the heart” that the Israelites had. They didn’t understand why they had to spare the lives of innocent and they didn’t even know how to tell innocence. Similarly, He permitted divorce and remarriage for the same thing because if Israelite men couldn’t divorce according to the law of Moses, they will make themselves into widows by killing their wives, so instead of wife-murder, God permitted a lesser evil.
The Israelites were a tribal people coming out of slavery. They aren’t civilized like we are now, or even how people were at the time of Christ. They were angry, impatient, and irritable, ready to worship pagan gods at any moment. They were so sinful that even Moses fell into sin when he became angry and disobeyed God, thus giving up his right to enter the promised lands. God had to deal with His chosen people like children, like babies, and you slowly introduce them to rules and morality as they grow up. Would you be able to enforce a baby to stop biting other people if the baby wants to bite? Definitely not.
With the full revelation with the birth of Christ, God made flesh, all permitted evils were abolished as Jesus fulfilled the covenant and the Law of Moses.
As for Sodom and Gomorrah, none were righteous (at least less than 10). Even God saved Lot’s, whom were considered righteous, and the rest were destroyed. God is omniscient, so if He knew there was no chance for the people He destroyed, then it is good that it was done for the sake of Abraham’s nation.
Anyway, point out where in the Bible you are talking about if these two don’t cover it because Catholic theologians have long defeated such an argument, even since the Early Church (Saint Irenaeus on Marcionism, a heresy that the New Testament had a good God and the Old Testament had an evil god).