The question deals with certain scriptures that appear to provide no path to salvation for those who willfully sin and/or fall away from the faith after having believed in the Gospel. But even though the warnings against this are severe, the authors do not close the door to forgiveness.
Hebrews
Hebrews 10:26-29
26 If we sin deliberately after receiving knowledge of the truth,
there no longer remains sacrifice for sins 27 but a fearful prospect
of judgment and a flaming fire that is going to consume the
adversaries. 28 Anyone who rejects the law of Moses is put to death
without pity on the testimony of two or three witnesses. 29 Do you not
think that a much worse punishment is due the one who has contempt for
the Son of God, considers unclean the covenant-blood by which he was
consecrated, and insults the spirit of grace?
The important thing to know about this passage is that it is directed to first-century Christians who - the author believed - were backsliding into Judaism. He is warning them that there are dire consequences for this. So he prefaces this passage by saying in 10:23:
Let us hold unwaveringly to our confession that gives us hope, for he
who made the promise is trustworthy.
This refers back to the idea that Jesus is the high priest who atones for sin. In addition to warning believers not to backslide, the author is should also be understood to urge the lapsed to return to faith in Jesus. Thus in chapter 4 he writes:
15 For we do not have a high priest who is unable to sympathize with
our weaknesses, but one who has similarly been tested in every way,
yet without sin. 16 So let us confidently approach the throne of grace
to receive mercy and to find grace for timely help.
Numbers
Numbers 15 deals with the situation under the Mosaic Law. It teaches there is no forgiveness for certain sins. However, the New Testament teaches that under the Gospel of grace, "every sin will be forgiven," including most forms of blasphemy. (Revelation 3:20)
2 Peter
Regarding 2 Peter 20-21:
For if they, having escaped the defilements of the world through the
knowledge of [our] Lord and savior Jesus Christ, again become
entangled and overcome by them, their last condition is worse than
their first. 21 For it would have been better for them not to have
known the way of righteousness than after knowing it to turn back from
the holy commandment handed down to them.
Again, the context is crucial here. It does not refer to Christians who have intentionally sinned and now seek forgiveness, but those who have become so "entangled" in defilements that they do not even seek God's mercy. At the beginning of the chapter, the author refers to:
False teachers among you, who will introduce destructive heresies and
even deny the Master who ransomed them, bringing swift destruction on
themselves. 2 Many will follow their licentious ways, and because of them the way of truth will be reviled.
However, although the warning is stern, the door is not closed to those who have fallen away, if they repent. The promise of Jesus remains, even for those who have willfully sinned and turned away from the faith. The parables of the Lost Sheep and the Prodigal Son teach this most eloquently, as does one of the last sayings of Jesus recorded in the NT:
Revelation 3:20
Behold, I stand at the door and knock. If anyone hears my voice and
opens the door, I will enter his house and dine with him, and he with
me.
Conclusion: In the end, those who fear they are damned as "apostate" may find that they were only "lapsed" once they turn back to God.