Fyodor Dostoyevsky said this quote

...if there really is some day discovered a formula for all our desires and caprices - that is, an explanation of what they depend upon, by what laws they arise, how they develop, what they are aiming at in one case and in another and so on, that is a real mathematical formula - then, most likely, man will at once cease to feel desire, indeed, he will be certain to. For who would want to choose by rule? Besides, he will at once be transformed from a human being into an organ-stop or something of that sort; for what is a man without desires, without freewill and without choice, if not a stop in an organ?