Any affirmation of counterfactuals does nothing if it is incompatible with biblical teaching. The Bible acknowledges that God uses counterfactuals to achieve His will and that He knows the truth-value to hypothetical propositions. An example of this would be in 1 Samuel 23.6-10. This passage accounts for David’s inquiry to the Lord by means of a divining device called an ephod (which gave a “yes” or “no” answer). David thus flees the city of Keilah so the predictions do not come true. What the device had predicted to David was not simple foreknowledge (“Saul/the men of Keilah will do X”), by hypothetical knowledge (“If David stays, then Saul/the men of Keilah will do X”). The answer given by the ephod were correct answers, even though the events did not come to pass, since the answers were indicative of what would happen under certain circumstances.
Another example may be found in Jeremiah’s prophecy to King Zedekiah:
Then Jeremiah said to Zedekiah, “Thus says the Lord God of hosts, the God of Israel, ‘If you will indeed go out to the officers of the king of Babylon, then you will live, this city will not be burned with fire, and you and your household will survive. ‘But if you will not go out to the officers of the king of Babylon, then this city will be given over to the hand of the Chaldeans; and they will burn it with fire, and you yourself will not escape from their hand’” (Jer. 38.17-18).