God is not like men. What He wills He does and all perfectly. He is not the fickle ineffective god of modern evangelicalism.
When did sin enter creation, according to the Bible?
argued that God in His foreknowledge knew mankind
God foreknew it because He brings all things to pass. The determined purpose and foreknowledge of God go together (Acts 2:23). A fickle god cannot be certain of anything.