This claim of contradiction comes from a confusion on God’s dwelling place. Does God dwell in light or darkness?
1 Timothy 6:15-16 ” . . . the King of kings, and Lord of lords; Who only hath immortality, dwelling in the light which no man can approach . . .”
This verse is pitted against other verses that are said to claim God dwells in darkness.
1 Kings 8:12 “Then spake Solomon, The Lord said that he would dwell in the thick darkness.”
Psalm 18:11 “He made darkness his secret place; his pavilion round about him were dark waters and thick clouds of the skies.”
Psalm 97:1-2 “The Lord reigneth; let the earth rejoice . . . clouds and darkness are round about him.”
These are just a few examples critics have pointed to. This problem can be solved very easily, so easily, in fact, that I find it difficult to believe there even is a contradiction claim.
Note the last half of Timothy’s verse, which says, “the light which no man can approach.” I should point out that the context regarding the latter verses reference a temporary covering so that God could appear to the Israelites. Without a covering of “thick clouds” to obscure His light no one could approach Him and live. This is far removed from what the critics would have us believe in order to claim a contradiction. God doesn’t move away from the light, He shields His glory so that man could approach Him and live.