giving vengeance to those who don't know God, and to those who don't obey the Gospel of our Lord Jesus,
In other words, "Them that know not God" know Him not because they refuse to know him (see Romans 1:28), they refuse to accept His gospel. Those who obey not the gospel shall be punished. Thayer makes an extended comment: