Yes, they knew God, but they wouldn't worship him as God or even give him thanks. And they began to think up foolish ideas of what God was like. The result was that their minds became dark and confused.
Claiming to be wise, they became utter fools instead.
And instead of worshiping the glorious, ever-living God, they worshiped idols made to look like mere people, or birds and animals and snakes.