And to whom sware he that they should not enter into his rest, but to them that believed not?
Read Full Chapter Hebrews 3:18
But with whom was he grieved forty years? was it not with them that had sinned, whose carcases fell in the wilderness?
So we see that they could not enter in because of unbelief.