I laid me down and slept,.... After the battle was over between Absalom's men and his, says Aben Ezra; but rather this was in the midst of his trouble and distress, since he afterwards prays for salvation: and this sleep was either, as Jarchi observes, through his heart being overwhelmed with grief; for there have been instances of persons sleeping through sorrow, as Elijah, Jonah, and the disciples of Christ, 1Ki 19:4; or rather this is expressive of the calmness and serenity of his mind amidst his troubles; he laid himself down in peace, and slept quietly and comfortably; he did not lose a night's rest, his sleep was sweet unto him; which was a blessing of life from the Lord that everyone does not enjoy; see Ps 127:2;I awakened; in the morning, alive and cheerful, Some lay themselves down and never awake more, as Sisera the captain of Jabin's army, and Ishbosheth the son of Saul; and this might have been David's case, considering the circumstances he was in: and others, through perplexing thoughts and cares, or pains of body, or uneasy dreams, rise fatigued and distressed; but David arose in good health of body, and tranquillity of mind, and comfortably refreshed;for the Lord sustained me; the psalmist committed himself to the care and protection of God; he laid himself down in his arms, and there slept in safety; the Lord preserved him, who is Israel's keeper, that neither slumbers nor sleeps: and he rose in health and cheerfulness in the morning, supported by his right hand.
This shows, that lying down to sleep, when in such circumstances, and awaking with cheerfulness, were not owing to rashness, stupidity, and insensibility, but to divine supports.