If you accept the Bible as true, this is a natural conclusion. But do we need the Bible deduce this? I don’t think so.
In theism, we accept that God is the first, uncaused cause. God is an independent thing. God is the source of all contingent or dependent things.
Evil is a dependent thing. Evil requires good. Without good, we would know no evil. It is simply a privation of good. An absence.
Therefore, if God is independent and evil is dependent, God is good.