Hebrews 10:26–39 contains the letter’s most dire warning against apostasy. This passage should be understood in the same context as earlier references to Israel’s punishment in the wilderness (Hebrews 3:12–19) and the dangers of a shallow faith (Hebrews 6:1–8). The concern here is not a loss of salvation, but of God’s punishment on those who willingly rebel against His will. Since the new covenant is superior to the old covenant, we can expect those who ”profane” the new covenant to suffer greater consequences for disobedience. This is followed by a word of encouragement and reassurance to those who have already survived hardship and persecution.
For a more detailed summary select the link below.
“Hebrews 10:36 Bibleref.com
36 For you need endurance so that, having done the will of God, you may receive the promise.