David Deutsch, says in the beginning of infinity (2011)
Optimism (in the sense that I have advocated) is the theory that all failures—all evils—are due to insufficient knowledge. . . . Problems are inevitable, because our knowledge will always be infinitely far from complete. Some problems are hard, but it is a mistake to confuse hard problems with problems unlikely to be solved. Problems are soluble, and each particular evil is a problem that can be solved. An optimistic civilization is open and not afraid to innovate, and is based on traditions of criticism. Its institutions keep improving, and the most important knowledge that they embody is knowledge of how to detect and eliminate errors.
Steven Pinker. Enlightenment now. 2018