This is a piece of advice which means that one should not concentrate all efforts and resources in one area as one could lose everything.
Example:
Mr Tan’s financial adviser urged him to be careful and not put all his eggs in one basket by investing all his money on stocks.