We also had the promise to enter into the kingdom through our faith and spiritual way of life, as well as those who accepted the command through the law so that … they might possess the land granted to them. "But the message" of the law "which they heard did not benefit them because it did not meet with faith" in the hearers. "We who have believed" in Christ and his gifts "enter" faithfully "that rest." They, on the other hand, did not enter into that rest in consequence of the vow made through David, who said, "I swore in my anger that they should not enter my rest."
Source: COMMENTARY ON THE EPISTLE TO THE HEBREWS 4