It's no different than when New Jerusalem comes down.
Those written in the book of Life will be within those walls, but the "dogs" will not enter.
Islam is detailed, & it speaks of what is/was omitted in the Bible. It's more similar to the old testament than it is with the New. That's why you used a Gospel verse as an opposite.
Yahweh, instructed the Israelites to wipe out those in Canaan.. God is vengeance & Jesus brought the sword that will divide families.
The irony is in that a non Christian, does what God requires without knowing Him, while a christian, opts to disobey, yet knowing Him. That's why those who know & not do, receive a greater punishment than those who don't know & still go to hell.