Passage
Then Dauid arose from the earth, and washed and anoynted himselfe, and changed his apparell, and came into the house of the Lord, and worshipped, and afterward came to his owne house, and bade that they should set bread before him, and he did eate.
Nearby Context
2 Samuel 12:18 So on the seuenth day the child dyed: and the seruants of Dauid feared to tell him that the childe was dead: for they sayde, Beholde, while the childe was aliue, we spake vnto him, and he woulde not hearken vnto our voyce: how then shall we say vnto him, The childe is dead, to vexe him more?
2 Samuel 12:19 But when Dauid sawe that his seruantes whispered, Dauid perceiued that the childe was dead: therefore Dauid sayde vnto his seruants, Is the childe dead? And they sayd, He is dead.
2 Samuel 12:20 Then Dauid arose from the earth, and washed and anoynted himselfe, and changed his apparell, and came into the house of the Lord, and worshipped, and afterward came to his owne house, and bade that they should set bread before him, and he did eate.
2 Samuel 12:21 Then saide his seruants vnto him, What thing is this, that thou hast done? thou diddest fast and weepe for the childe while it was aliue, but when the childe was dead, thou diddest rise vp, and eate meate.
2 Samuel 12:22 And he sayde, While the childe was yet aliue, I fasted, and wept: for I sayde, Who can tell whether God will haue mercy on me, that the childe may liue?
Study Lenses
The verse centers on "dauid", "arose", "earth", "washed", "anoynted", "himselfe", "changed", and "apparell". It is saying that the verse draws attention to "dauid" and "arose", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 19's "But when Dauid sawe that his seruantes..." into verse 21's "Then saide his seruants vnto him What...", so "dauid" and "arose" belong inside that flow. In 2 Samuel context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "dauid" and "arose" with trust shaped by these words, not by a vague optimism outside the passage.