I don't think dry beans go bad
I've used dried large limas that had been in my pantry for probably 4 or 5 years.
Soaked overnight in 8 cups of cold water - no salt
Add thinly sliced onions to pot the next day and bring to boil, cook uncovered on low flame for an hour before putting in a casserole with all the addditional ingredients to cook in oven for 2-2 1/2 hours.