Nice usage of words to dictate your point, like using 'loving God' to highlight God's love, but it also does well to minimize everything else that God is, and then this loving God commits "atrocities, genocide, slaughter", things that no loving human would ever do (using loving again to highlight the inconsistency). It's very nicely put together, and it sounds like you've already made up your mind on the issue. If you keep approaching this question from this perspective, you'll never come up with an answer that satisfies because you've already determined the answer, that God cannot be loving because otherwise how could he ordain or order such mass destruction and death?
In truth this perspective is so simplistic, it reduces everything in the Old Testament narratives to a very simple and bare-bones state. However, that does a great disservice to the narrative flow of the Torah and the history narratives because it basically cuts out every Biblical aspect to it. If you let the text speak for itself the narrative unfolds in a very beautiful way.
Just some highlights for example Gen 1:27
"God created humankind in his own image, in the image of God he created them, male and female he created them." (also, just a thought, how could God do things that no loving human would ever do if humanity is fashion after the image of God? And what about the humans who do commit atrocities? Are they just the truest image of God, or has there been a misunderstanding somewhere along the line)
Gen 12:1
“Get out of your country, From your family And from your father’s house, To a land that I will show you. 2 I will make you a great nation; I will bless you And make your name great; And you shall be a blessing. 3 I will bless those who bless you, And I will curse him who curses you; And in you all the families of the earth shall be blessed.”
It is interesting the statement of intention that all the families of the earth will be blessed, in Abraham. This promise is given again only, it is all the nations of the earth will be blessed in your seed. This promise is given to his sons Isaac, and to Jacob. This is the linchpin of the entire narrative of Israel, that culminates in Jesus.
Exodus 34:6-7
And the Lord passed before him and proclaimed, “The Lord, the Lord God, merciful and gracious, longsuffering, and abounding in goodness (chesed) and truth, 7 keeping mercy for thousands, forgiving iniquity and transgression and sin, by no means clearing the guilty, visiting the iniquity of the fathers upon the children and the children’s children to the third and the fourth generation.”
This is the only place were God declares his own nature and character, and notice the attributes, his grace, patience (long-suffering), and overflowing in what is called chesed (mostly translated mercy or goodness by really means something like steadfast covenant faithfulness), and truth, he keeps mercy for thousands (is meant thousands of generations), and forgives sin and iniquity, but doesn't let the wicked go free, but punished them accordingly.
These are just some verses that really open up the world of the Old Testament in its width, and depth that a surface level judgement of God's nature and character just absolutely misses (in such a beautiful fashion too).
So, to answer you, if you read the narrative of the Old Testament (roughly Genesis through 2 Kings), you will find the answer to these 'inconsistencies' within the pages of the Scriptures themselves as you interact with them.