If the god character in the Bible exists, and all the unpleasant things attributed to it have any credence, it should be on its knees begging the human race to forgive it.
It beggars belief that some look upon the god character as good and a god of love. If it was a human it would be vilified for its evil character, prosecuted and either spend the whole of its life incarcerated, or even executed.
Now I await the excuses some Christians will come up with, in order to exonerate it.
I've said more than once that if Yahweh were human committing the acts he was responsible for in the OT, or being accomplice to them by inciting others to act on his behalf, that even pro-lifers would want him on death row.
There are Christians that will answer your observation with, because I've read these type replies multiple times on different Christian forum sites, he's God! And he can do anything he wishes with and to his creation.
Forget lead by example.
Then there are those who argue, the acts are disciplinary. Wouldn't you discipline your child if they misbehaved?
Well, yes. However, I wouldn't order their babies cut from their womb because they ticked me off.
See the scriptures about the Midianites.
In large part the bible is comprised of parable, allegory, metaphor and simile. And it is being discovered actual historic events. It is also a tome of controls. The Romans had a great deal to do with what is the New Testament. But they couldn't muck with the Old because that was the scroll of the Hebrews who were allowed to practice their faith in Roman conquered lands because they paid Rome a tax for the privilege.
So the discerning Christian asks, why are we humans created to be where we are at this moment by an all knowing (omniscient) creator working to please a holy spirit that himself acts like the worst sinner?
Some discerning Christians would then answer, because he can send us to Hell.
Fear paradigms are an interesting conjuration. Love me or I'll burn you eternally in Hell fire. Obey me or, ditto.
Then there are people of The Way. Who follow the road of Holiness teachings that Jesus, who was God, delivered. Not by the book people necessarily but rather by the leading of the holy spirit.