The background to this passage is the danger of drifting away from the Lord. These verses address that danger by reminding the Hebrews of the fact that God swore and oath to confirm the promises of salvation. It is through the "oath-promise" of God that we are greatly encouraged.
Read Hebrews 6:13-30