Put all one`s eggs in one basket

To place all one`s efforts or interests or hopes in a single person or thing.

You should not put all your eggs in one basket and invest all of your money in the stock market.