There are multiple instances where God commands and/or approves of killing children (cf. Ezekiel 9:5f, Jeremiah 51:22, Isaiah 13:15f, 1 Samuel 15:2, Joshua 6:20, and many more). There are cases where God approves of rape (Exodus 21:7f, Judges 5:30, Zachariah 14:2, etc.).
I’ll look up the passages you’re describing, and explain each one for you. You also have to keep in mind that God is perfect and all-good. Whatever He commanded is not evil, even if we see it differently. But if humans do something evil, He doesn’t accept it without His command. You’re forgetting that God is divine, thus He possesses more wisdom and knowledge and a higher morality than we do.
Ezekial 9:5f…God is commanding the people to kill idolaters that were formerly believers in Him. You have to remember that obedience to God is a dire sin, as idol worship is a mortal sin. The Jewish had made a convenant with God, agreeing to worship Him and He would be their God and protect them. Its simply a case of Him punishing the idolaters. This is not evil.
Jeremiah 51:22…this is very similar to a battle song in rhythm, but its a prophecy.; the 2nd prophecy against Babylon. It is referring to the God-commanded destruction of Chaldea and Babylon. This city was doing much sin, so again, an example of a city being punished by God.
Isaiah 13:15f…this is a description of Isaiah’s vision of Babylon’s destruction. I’ve already explained about the wicked nature of Babylon and God’s punishment of Babylon.
1 Samuel 15:2…Samuel is telling Saul that Saul is now the king over Israel, and that God commands Amalek to be punished for barring Israel’s way when they were coming up from Egypt. Thus, Amalek was punished. When God protects someone, you don’t want to get into that someone’s way.
Joshua 6:20…this is describing Jericho’s fall. God commanded the Israelites to defeat Jericho. It wouldn’t be an easy fight; God commanded they circle the city with 7 Priests each carrying a ram’s horn, and carrying the Ark of the Covenant. After them, the troops would march behind. They were to march around the city for 6 days. On the 7th day, they were to march around for an additional 7 times, then blow their horns with a long blast when they received Joshua’s signal. The walls of Jerusalem were felled by God. Because a Jericho woman helped them, her and her family were spared from being killed. She and them would get to live in Israel. God said that any man that tried to rebuild Jericho would be cursed. To this day, this curse remains and a few have died from trying; so nobody dares try to rebuild Jericho.
Exodus 21:7f…this isn’t referring to rape. This is referring to God’s rules regarding selling a daughter into slavery. If the master doesn’t like her, he may release her and she’ll be freed. He can’t even sell her to a foreigner, as that’s a breach of the slavery contract. If he marries her to his son, he must treat her like a daughter rather than like a slave. If his son marries another woman, the former slave must still be given her rightful food, clothing, bed relations, and rights to children; but if he denies her any of these things, she’s allowed to go free as he’s dishonoured his marriage to her.
Judges 5:30…Deborah, a female Judge, is leading Israel into a God-commanded conquest. She was to kill Sisera. The mother of Sisera was weeping, worried about him, wondering why he’s not coming. She was expecting him that day. She’s talking to her princesses, then she talks to herself. She’s pondering if Sisera must be busy dividing the spoils he took from his own conquets, such as the women or two for each man, and he must’ve took dyed cloth spoils as his own, and hopes he’s gotten an ornate shawl or two for her. No rape is mentioned here.
Zechariah 14:2…Jerusalem is being attacked. The author is speaking of the various nations that are attacking Jerusalem in order to take the city, plunder houses, rape women, and half the city shall go into exile, but the Lord will come forth and fight in Israel’s defense. And He does. Nowhere in the passage is it mentioning God approving of rape. Its talking about foreigners invading and raping the women.
It occurs to me, with all the references you gave, that you didn’t read them all in context and you might’ve not understood the history of everything that’s going on in them. It seems you are pointing to a verse that seems incriminating and making it into your own hangup. Being negative like that never helps matters, especially when researching religions. You have to read things in context and understand the history. Otherwise, you’ll have misinterpretations based on just one verse that seemed to glare out at you.