The purpose of "Compatiblism" is reconcile the "decree of God" for Adam to sin in the Garden of Eden, with Adam having a will, and choosing to sin, or not sin.
Chapter III of the WCF states:
"I. God from all eternity, did, by the most wise and holy counsel of his own will, freely, and...