Could you explain “for some have no knowledge of God”?

Question:

In I Corinthians 15:34, "for some have no knowledge of God," is "some" referring to the "bad company" in I Corinthians 15:33 or to the Corinthians who should become sober-minded?

Answer:

"If from human motives I fought with wild beasts at Ephesus, what does it profit me? If the dead are not raised, 'Let us eat and drink, for tomorrow we die.' Do not be deceived: 'Bad company corrupts good morals.' Become sober-minded as you ought, and stop sinning; for some have no knowledge of God. I speak this to your shame" (I Corinthians 15:33).

If there is no resurrection, as false teachers in Corinth claimed (I Corinthians 15:12), then the motivations for life are purely human, driven by the desires of this world, and people should seek to derive as much pleasure from life as they can now. “Eat, drink, and be merry!” -  which God called a foolish declaration (Luke 12:19-20). Therefore, Paul warns the Corinthians not to be deceived by these false teachers. Associating with them will corrupt one's spirituality because their teachings lead one to view life purely from the world’s perspective (I John 2:15-17). Instead, the Corinthians needed to become sober-minded (as opposed to pleasure-minded) and stop sinning.

Some of the false teachers they have been associating with have no knowledge of God. These false teachers are so far from the truth that they are more pagan than Christian (Philippians 3:18-19; II Peter 2:10, 18-22). Paul found it shameful that the Corinthians were letting such people influence their thinking.