Necessity is the mother of invention
The supposition that needfulness or compulsion drives creativity is an anonymous Latin proverb from ancient Roman times and probably before. The original Latin version is mater artium necessitas loosely translated as ‘necessity is the mother of art or creativity’.