According to Joseph Smith Jr and Joseph Fielding Smith, David went to hell . yet another false statement by false prophets
Status of King David
Question: "Some time ago the question came up as to the standing of King David because of his sin as pertaining to Uriah. Because we understand there is no forgiveness for murder some of the class felt he lost his priesthood and retrogressed from the time of this incident. Others felt that inasmuch as David repented and abhorred his sin and indicated his sorrow, that he did not lose his priesthood. Would you please enlighten us? What is the teaching of the Church on this point? What is his status?"
Answer: David sorely repented all his life, but his sin was so great that he lost everything and the Prophet Joseph Smith has given us this information. Speaking of the Jews whom Peter addressed as recorded in the third chapter of Acts, they could not receive forgiveness for their sins, although they repented, until Christ comes, and the same is true of David. These are the words of the Prophet to the Jews:
A murderer, for instance, one that sheds innocent blood, cannot have forgiveness. David sought repentance at the hand of God carefully with tears, for the murder of Uriah; but he could only get it through hell; he got a promise that his soul should not be left in hell.
Although David was a king, he never did obtain the spirit and power of Elijah and the fulness of the priesthood; and the priesthood that he received, and the throne and kingdom of David is to be taken from him and given to another by the name of David in the last days, raised up out of his lineage.
. . . "Repent ye therefore, and be converted, that your sins may be blotted out, when the times of refreshing (redemption) shall come from the presence of the Lord, and he shall send Jesus Christ, which before was preached unto you," &c. (Acts 3:19-21.) The time of redemption here had reference to the time when Christ should come; then and not till then, would their sins be blotted out. Why? Because they were murderers, and no murderer hath eternal life. Even David must wait for those times of refreshing, before he can come forth and his sins be blotted out. For Peter, speaking of him says, "David hath not yet ascended into heaven, for his sepulchre is with us to this day." (Acts 2:29.) His remains were then in the tomb. Now, we read that many bodies of the Saints arose at Christ's resurrection, probably all the Saints, but it seems that David did not. (Matthew 27:52-53.) Why? Because he had been a murderer. . . . (Teachings of the Prophet Joseph Smith, pp. 239, 188.)
However in acts 2:
25 “King David quoted Jesus as saying:
‘I know the Lord is always with me. He is helping me. God’s mighty power supports me.
26 ’No wonder my heart is filled with joy and my tongue shouts his praises! For I know all will be well with me in death—
27 ’You will not leave my soul in hell or let the body of your Holy Son decay.
28 ’You will give me back my life and give me wonderful joy in your presence.’
29 “ for he died and was buried, and his tomb is still here among us. 30 But he was a prophet, and knew God had promised with an unbreakable oath that one of David’s own descendants would be the Messiah and£ sit on David’s throne. 31 David was looking far into the future and predicting the Messiah’s resurrection, and saying that the Messiah’s soul would not be left in hell and his body would not decay. 32 He was speaking of Jesus, and we all are witnesses that Jesus rose from the dead.
33 “And now he sits on the throne of highest honor in heaven, next to God. And just as promised, the Father gave him the authority to send the Holy Spirit—with the results you are seeing and hearing today.
34 “No, David was not speaking of himself in these words of his I have quoted, for he never ascended into the skies. Moreover, he further stated, ‘God spoke to my Lord, the Messiah, and said to him, Sit here in honor beside me 35until I bring your enemies into complete subjection.’
Acts 13:34 “For God had promised to bring him back to life again, no more to die. This is stated in the Scripture that says, ‘I will do for you the wonderful thing I promised David.’ 35 In another Psalm he explained more fully, saying, ‘God will not let his Holy One decay.’ 36 This was not a reference to David, for after David had served his generation according to the will of God, he died and was buried, and his body decayed. 37 No, it was a reference to another—someone God brought back to life, whose body was not touched at all by the ravages of death.
In Mormon Doctrine we have the answer that it wasn't David in Psa 16:8 under Corruption
Corruption is also used to signify the decay and change that will take place after death. Thus David recorded the Lord's promise that he would not suffer his Holy One to see corruption (Ps. 16:10), a promise amply fulfilled in Christ as both Peter (Acts 2:27) and Paul (Acts 13:30-37) testified.
3. The term is further used with reference to the wicked, depraved, and dissolute acts of those who are steeped in iniquity. "He that soweth to his flesh shall of the flesh reap corruption; but he that soweth to the Spirit shall of the Spirit reap life everlasting," Paul says (Gal. 6:8); and it is by thus sowing to the Spirit that the saints have "escaped the corruption that is in the world through lust." (2 Pet. 1:4.)
34 “For God had promised to bring him back to life again, no more to die. This is stated in the Scripture that says, ‘I will do for you the wonderful thing I promised David.’ 35 In another Psalm he explained more fully, saying, ‘God will not let his Holy One decay.’ 36 This was not a reference to David, for after David had served his generation according to the will of God, he died and was buried, and his body decayed. 37No, it was a reference to another£—someone God brought back to life, whose body was not touched at all by the ravages of death.
• Acts 13:22
22 And when he had removed him, he raised up unto them David to be their king; to whom also he gave testimony, and said, I have found David the son of Jesse, a man after mine own heart, which shall fulfil all my will.
• 2 Timothy 2:8
8 Remember that Jesus Christ of the seed of David was raised from the dead according to my gospel: