Translating Romans 1:21

21 Because that, when they knew God, they glorified him not as God, neither were thankful; but became vain in their imaginations, and their foolish heart was darkened. I have a question about translating Romans 1:21. The KJV, Holman Bible, NKJV, NIV all say, “…...