Yahweh is definitely immoral. Modern Christians will say Hell is not real but Yahweh still killed (men, women, babies, animals, enslaved women and children (or worse)) for worshipping the wrong God.
Brainwashed Christians will try to tell you the entire cities were somehow all evil, as if even the babies were breathing fire and killing other babies.
Women/children/babies of war are plunder-
When you march up to attack a city, make its people an offer of peace. 11 If they accept and open their gates, all the people in it shall be subject to forced labor and shall work for you. 12 If they refuse to make peace and they engage you in battle, lay siege to that city. 13 When the Lord your God delivers it into your hand, put to the sword all the men in it. 14 As for the women, the children, the livestock and everything else in the city, you may take these as plunder for yourselves. And you may use the plunder the Lord your God gives you from your enemies. 15 This is how you are to treat all the cities that are at a distance from you and do not belong to the nations nearby.
murder, murder, murder
However, in the cities of the nations the Lord your God is giving you as an inheritance, do not leave alive anything that breathes. 17 Completely destroy them—the Hittites, Amorites, Canaanites, Perizzites, Hivites and Jebusites—as the Lord your God has commanded you. 18 Otherwise, they will teach you to follow all the detestable things they do in worshiping their gods, and you will sin against the Lord your God.
Deuteronomy 20
Not "please don't do the detestable things they do" or "since I'm Yahweh and obviously the only real God you obviously won't do whatever weird stuff they do in their religion so I'm not worried"?
As if the Israelites would invade the Hittites and be like "Oh hey, Yahweh sent us to defeat you, y'know, Yahweh the actual real Supreme God with real God powers. Boy did we get lucky that the supreme God of reality chose us! Uh, hey what's that, a church? Can I go check it out? Wow, I'm going to convert to this fake religion and sin against my real supreme God of the universe! "Sin, sin, sin....kill babies, sin..." Darn, If I only read Deuteronomy 20 more!"
BTW, killing everything in 6 cities IS KILLING A LOT OF BABIES.
Obviously, Yahweh is a fictional national God. Uprgaded to supreme during the Greek occupation.
"Hellenistic traits adopted by Judaism:
-Other deities, who had previously been associated with national destiny (
e.g., Zeus, Yahweh, and Isis), were raised to the status of
transcendent, supreme
-this led to a change from concern for a religion of national prosperity to one for individual
salvation, from focus on a particular
ethnic group to concern for every human. The prophet or
saviour replaced the priest and king as the chief religious figure. "
-his process was carried further through the identification of the experiences of the soul that was to be saved with the
vicissitudes of a divine but fallen soul, which had to be redeemed by cultic activity and divine intervention. This view is illustrated in the concept of the paradoxical figure of the saved saviour,
salvator salvandus.