warns that
concentrating all one's resources or hopes in a single undertaking creates an unnecessary risk of losing everything.
Imagine a case where you should not concentrate all your efforts and resources, all your action in one area because if it doesn’t work, you lose everything.; then “Don’t put all your eggs in one basket” fits well.