To put all your eggs in one basket

How many eggs should you put in one basket? And what has that got to do with taking risks?