1 Samuel 19:9–10

Then a harmful spirit from the Lord came upon Saul, as he sat in his house with his spear in his hand. And David was playing the lyre. 10 And Saul sought to pin David to the wall with the spear, but he eluded Saul, so that he struck the spear into the wall. And David fled and escaped that night.