Then David prayed to God for the child and fasted. He would even go and spend the night lying on the ground.