1 Samuel 18:9-11

18:9 So Saul was keeping an eye on David from that day onward.

18:10 The next day an evil spirit from God rushed upon Saul and he prophesied within his house. Now David was playing the lyre that day. There was a spear in Saul’s hand, 18:11 and Saul threw the spear, thinking, “I’ll nail David to the wall!” But David escaped from him on two different occasions.