2 Samuel 3:35

35 Then they all came and urged David to eat something while it was still day; but David took an oath, saying, “May God deal with me, be it ever so severely, if I taste bread or anything else before the sun sets!”

Read 2 Samuel 3:35 Using Other Translations

And when all the people came to cause David to eat meat while it was yet day, David sware, saying, So do God to me, and more also, if I taste bread, or ought else, till the sun be down.
Then all the people came to persuade David to eat bread while it was yet day. But David swore, saying, "God do so to me and more also, if I taste bread or anything else till the sun goes down!"
David had refused to eat anything on the day of the funeral, and now everyone begged him to eat. But David had made a vow, saying, “May God strike me and even kill me if I eat anything before sundown.”