De libero arbitrio diatribe sive collatio (literally Of free will: Discourses or Comparisons) is the Latin title of a polemical work written by Desiderius Erasmus of Rotterdam in 1524. It is commonly called The Freedom of the Will or On Free Will in English. It was written to call out Martin Luther's revival of John Wycliffe's teaching that "everything happens by absolute necessity".
Erasmus' civil but deliberately provocative book mixes evangelical concerns that God has revealed himself as merciful not arbitrary ("nobody should despair of forgiveness by a God who is by nature most merciful" I.5.) and the conclusion in the Epilogue that where there are scriptures both in favour and against, theologians should moderate their opinions or hold them moderately: dogma is created by the church not theologians. In his view, a gently held synergism mediates the scriptural passages best, and moderates the exaggerations of both Pelagius (humans meriting or not requiring grace for salvation) and Manichaeus (two Gods: one good, one bad).