Albert J. Bernstein said this quote

To be psychologically healthy, we have to believe that what we do has some effect on what happens to us. Even if the perception of control is delusional, it usually leads to more productive action than believing that what we do makes no difference.