David prayed to God for the baby. David refused to eat or drink. He went into his house and stayed there and lay on the ground all night.