Revelation .12:17
Revelation.12:17 And the dragon was wroth with the woman, and went to make war with the remnant of her seed, which keep the commandments of God, and have the testimony of Jesus Christ
. This text deals with the anger and wrath of the Devil. He is at war with those who made a covenant with God by sacrifice (Psalm.50:5) to keep the Commandments of God. The devil is not at war with the profess Christians who have a form of Godliness but denying the power thereof: from such turn away. 2 Timothy.3:5. The Commandments of God are mention in Genesis which is the first book of the Bible and is also mention in the last book of the Bible which is Revelation. Jesus said in Revelation .22:14 Blessed are they that do his commandments
, that they may have right to the tree of life, and may enter in through the gates into the city.
This tells me, failure to be obedient to Jesus will keep me of out the city gates. It cannot be clearer than this. We are saved by grace through faith in Jesus Christ however, we are judge by our obedient to God and His words.