Nay, a great part of men are so far from finding any such innate moral principles in themselves, that, by denying freedom to mankind, and thereby making men no other than bare machines, they take away not only innate, but all moral rules whatsoever, and leave not a possibility to believe any such, to those who cannot conceive how anything can be capable of a law that is not a free agent.
 John Locke, An Essay Concerning Human Understanding (1689). copy citation

Context

“It is easy to foresee, that if different men of different sects should go about to give us a list of those innate practical principles, they would set down only such as suited their distinct hypotheses, and were fit to support the doctrines of their particular schools or churches; a plain evidence that there are no such innate truths. Nay, a great part of men are so far from finding any such innate moral principles in themselves, that, by denying freedom to mankind, and thereby making men no other than bare machines, they take away not only innate, but all moral rules whatsoever, and leave not a possibility to believe any such, to those who cannot conceive how anything can be capable of a law that is not a free agent. And upon that ground they must necessarily reject all principles of virtue, who cannot put MORALITY and MECHANISM together, which are not very easy to be reconciled or made consistent. 15. Lord Herbert’s innate Principles examined.” source