Save for a rainy day

Meaning: To save money or resources for a time when they may be needed.

Example: It is always wise to save some money for a rainy day.