No, you're ascribing will to a blind and undirected process. Squirrels that survive in recent years and decades bury more food than they ever eat, whether that specifically helped them against certain selection pressures or whether it vestigially remains as a non-impacting behavior.