Psalm 16:10 expresses confidence that God will not abandon His faithful one to the realm of the dead or allow His "holy one" to see corruption. In David's own experience the psalm expresses profound trust in God's preserving presence, but the wording reaches beyond David's eventual death and burial.
Both Peter and Paul explicitly apply this verse to Jesus. Acts 2:31 explains that David foresaw and spoke about the resurrection of the Christ, whose body did not see corruption, and Acts 13:35-37 makes the same argument: David died and experienced decay, but the One whom God raised did not. The New Testament therefore treats Psalm 16:10 as a genuine messianic testimony to Christ's resurrection and the preservation of His body from corruption.