means that
a pressing need often stimulates ingenuity and inspires people to invent practical solutions.
Imagine a case where if you really have to do something, you will find a way of doing it; The need for doing it, will be the driving force for an invention.; then “Necessity is the mother of invention” fits well.