When David heard that Nabal was dead, he said, “Blessed be the LORD, who has pleaded the cause of my reproach from the hand of Nabal and has kept back His servant from evil. The LORD has also returned the evildoing of Nabal on his own head.” Then David sent a proposal to Abigail, to take her as his wife.
David said that the LORD kept him from doing evil. Here is another example of the man wanting to do one thing but God stopping him and making him do another. Where is the free will here? This is no different from than the time God prevented King Abimelech from touching Sarah when he took her to be his wife after Abraham said she was his sister (Genesis 20:6).
Would you like an example from the New Testament? The same thing that happened with Paul when he intended to preach in Asia and Bithynia but the Spirit of Jesus would not allow him (Acts 16:6-7). Think about that - God prevented Paul from preaching the Gospel. How does that fit into the Arminian theory that God wants to save each and every single person?
If God does not want you to do something, you will not do it. If God does want you to accomplish a task, you will do it. God has a plan for each and every single person who was ever conceived, or who will be conceived, and there is no one who will not accomplish God’s will for their lives (Psalm 57:2, Psalm 138:8, Revelation 17:17).
To do anything, God may use you or He may use someone else, but because He has already declared the end from the beginning (Isaiah 46:10), what He wants done not only will be done because He works all things in accordance with the counsel of His Will (Ephesians 1:11), it has ALREADY been done.
So is it a surprise to anyone that God kept David from doing evil? David knew it and he didn’t have God’s Word in text like we have it today.