Even without the claimed knowledge of God there is no good. However as the Bible states a lack of knowledge of God is only people suppressing what they do know. “For the wrath of God is revealed from heaven against all ungodliness and unrighteousness of men, who by their unrighteousness suppress the truth. For what can be known about God is plain to them, because God has shown it to them. For his invisible attributes, namely, his eternal power and divine nature, have been clearly perceived, ever since the creation of the world, in the things that have been made. So they are without excuse. For although they knew God, they did not honor him as God or give thanks to him, but they became futile in their thinking, and their foolish hearts were darkened.”
Romans 1:18-21 ESV Roman’s goes on to make it clear that we all perceive his existence
Romans 2:14–15 (ESV)
“For when Gentiles, who do not have the law, by nature do what the law requires, they are a law to themselves, even though they do not have the law. They show that the work of the law is written on their hearts, while their conscience also bears witness, and their conflicting thoughts accuse or even excuse them"
Keyvwords here to note are “bears witness” but that those conflicting thoughts are what stop them from coming to a full understanding.
Other verses to consider are Psalm 19:1–2: "The heavens declare the glory of God, and the sky above proclaims his handiwork. Day to day pours out speech, and night to night reveals knowledge." Ecclesiastes 3:11: Notes that God "has put eternity into man's heart," giving people an innate awareness of something beyond the temporary material world. and even this James 1:17 (ESV) says that “Every good gift and every perfect gift is from above, coming down from the Father of lights, with whom there is no variation or shadow due to change." And the reason of this turning away from God that they know exist is so that they can continue in sin without accountability. It will include “all people” who have turned from God. and continue to run from him, which implies a knowledge of his existence. “And this is the judgment: the light has come into the world, and people loved the darkness rather than the light because their works were evil. For everyone who does wicked things hates the light and does not come to the light, lest his works should be exposed." John 3:19–20 (ESV)