David entreated God on behalf of the child. He fasted for a period, and he would go in and lie throughout the night on the ground.