Why men choose what makes them miserable.
What has been said may also discover to us the reason why men in this world prefer different things, and pursue happiness by contrary courses. But yet, since men are always constant and in earnest in matters of happiness and misery, the question still remains, How men come often to prefer the worse to the better
 John Locke, An Essay Concerning Human Understanding (1689). copy citation

Context

“whereof some are bees, delighted with flowers and their sweetness; others beetles, delighted with other kinds of viands, which having enjoyed for a season, they would cease to be, and exist no more for ever. 57. [not in early editions] 58. Why men choose what makes them miserable. What has been said may also discover to us the reason why men in this world prefer different things, and pursue happiness by contrary courses. But yet, since men are always constant and in earnest in matters of happiness and misery, the question still remains, How men come often to prefer the worse to the better; and to choose that, which, by their own confession, has made them miserable? 59. The causes of this. To account for the various and contrary ways men take, though all aim at being happy, we must consider whence the VARIOUS UNEASINESSES that determine the will, in the preference of each voluntary action, have their rise:—” source