
The phrase don’t put all your eggs in one basket means don’t risk everything on one plan - if that plan fails, you could lose everything. If you were carrying eggs in a basket and dropped the basket, all the eggs could break. It has come to mean advice to be open to alternatives, or to diversity investments instead of relying on only one thing.
He bought shares in many different companies so he didn't put all his eggs in one basket.
