Read Hebrews 3:18 Using Other Translations
And to whom sware he that they should not enter into his rest, but to them that believed not?
And to whom did he swear that they would not enter his rest, but to those who were disobedient?
And to whom was God speaking when he took an oath that they would never enter his rest? Wasn’t it the people who disobeyed him?