Countless things, but that's life. We learn from mistakes, make adjustments, salvage what we can, pick up our pieces and work with what we've got. Then, we pass on the knowledge to younger generations or those who have no experience yet, who who will likely ignore a good portion of advice, unless they're smart enough, but not too smart...
Are you able to come up with meals just by looking at what you got in the fridge?