necessity is the mother of invention

To say necessity is the mother of invention means to say that difficult situations often inspire ingenious solutions. What this means in laments terms is that when you go through difficult situations or you try very hard in order to achieve something, this is when you often come up with your best solutions. Going through trials and tribulations in life can often be more helpful to you than you would imagine.