@chadgoode Yes, exactly this happens. Fortunately, canned foods are good far past their "best by" dates, as in years and years past.
I do volunteer work at a homeless mission here and sometimes they are inundated with far more donated canned food than they can get rid of, often out of date. So I snatch it up and take home as much as I can manage.