1 Samuel 19:8-10

19:8 Now once again there was war. So David went out to fight the Philistines. He defeated them thoroughly and they ran away from him. 19:9 Then an evil spirit from the Lord came upon Saul. He was sitting in his house with his spear in his hand, while David was playing the lyre. 19:10 Saul tried to nail David to the wall with the spear, but he escaped from Saul’s presence and the spear drove into the wall. David escaped quickly that night.