The word "godly" means, in colloquial usage, "having or demonstrating the character of God". I can reference a formal definition if you don't like that one. You cannot logically have a concept of "godly" unless you start with God. You haven't done that.
Instead, you have defined "godly" some other way, and then measured God against that standard. In effect, you are standing in judgment of God. A man named Job tried that a long time ago. It didn't go well for him.
As for "good", Jesus Himself said, "No one is good except God alone." In other words, the definition of "good" must be framed around God. It's exactly the same principle as with "godly"; you have made up your own definition, and you're judging God to see if He measures up to it.
Basically, you have invented a concept of "god" that suits your preferences. Some of that comes from Scripture, and apparently some from other sources, but it is not
soundly scriptural. You compare the God of the Bible to your concept, and supposedly He fails the test.
Here is my position, which is solidly based on Scripture: Jesus IS God. God is fully and finally manifested in Jesus.
Every act for which you blame God, you place at the feet of Jesus, and you accuse Him of sin.
Here is what I suggest you do:
Drop all preconceived ideas of what "god" means. Read the Bible...
all of it, starting in Genesis. Take it at face value for what it says about God. Consider His position and what rights that position entitles Him. Note your questions along the way, but don't fret over finding the answers immediately.
Oh... and sincerely ask God to reveal Himself to you as you read.