Plucking verses from their context is never a valid means by which to know truth. You have to keep reading, but I'm certain you know that.
Hebrews 3:17-19 KJV
17) But with whom was he grieved forty years? was it not with them that had sinned, whose carcases fell in the wilderness?
18) And to whom sware he that they should not enter into his rest,
but to them that believed not?
19) So we see that they could not enter in because of unbelief.
So when you ignore these things, what are we to make of it? That you do this on purpose?
To then who believe,
John 1:12-13 KJV
12) But as many as received him, to them gave he power to become the sons of God, even to them that believe on his name:
13) Which were born, not of blood, nor of the will of the flesh, nor of the will of man, but of God.
John 3:36 KJV
He that believeth on the Son hath everlasting life: and he that believeth not the Son shall not see life; but the wrath of God abideth on him.
1 Thessalonians 1:9-10 KJV
9) For they themselves shew of us what manner of entering in we had unto you, and how ye turned to God from idols to serve the living and true God;
10) And to wait for his Son from heaven, whom he raised from the dead, even Jesus, which delivered us from the wrath to come.
1 Thessalonians 5:8-10 KJV
8) But let us, who are of the day, be sober, putting on the breastplate of faith and love; and for an helmet, the hope of salvation.
9) For God hath not appointed us to wrath, but to obtain salvation by our Lord Jesus Christ,
10) Who died for us, that, whether we wake or sleep, we should live together with him.
And let's not neglect more of this same teaching on rest from the next chapter in Hebrews,
Hebrews 4:3-11 KJV
3) For we which have believed do enter into rest, as he said, As I have sworn in my wrath, if they shall enter into my rest: although the works were finished from the foundation of the world.
4) For he spake in a certain place of the seventh day on this wise, And God did rest the seventh day from all his works.
5) And in this place again, If they shall enter into my rest.
6) Seeing therefore it remaineth that some must enter therein, and they to whom it was first preached entered not in because of unbelief:
7) Again, he limiteth a certain day, saying in David, To day, after so long a time; as it is said, To day if ye will hear his voice, harden not your hearts.
8) For if Jesus had given them rest, then would he not afterward have spoken of another day.
9) There remaineth therefore a rest to the people of God.
10) For he that is entered into his rest, he also hath ceased from his own works, as God did from his.
11) Let us labour therefore to enter into that rest, lest any man fall after the same example of unbelief.
I urge you to enter into His rest.
Much love!