Saul hurled his spear at David to try to fasten him to the wall. David ◄dodged/jumped to one side►, and the spear did not hit him. The spear stuck in the wall, but that night David escaped.