Don't put all your eggs in one basket

Do not concentrate all your efforts and resources on one thing in order not to lose everything at once

Examples

I don't like to put all eggs in one basket. I always have a variety of ways to earn money.