To put something aside for a future time of need. To keep something for future use is a very old concept indeed; to call hard times a “rainy day” dates from the sixteenth century. Nicholas Breton used it in 1582 (Works): “Wise men say keepe somewhat till a rainy day.” Alternative locutions include to
lay up for a rainy day (John Clarke, 1639),
laying by against a rainy day (Samuel Pepys, 1666), and
putting something by for a rainy day. Ring Lardner (
Anniversary, 1926) used it ironically: “Louis was saving for a rainy day, and his wife had long ago given up praying for rain.” See also
salt away.