Dried beans need to be cooked to rehydrate them so that they are edable. They are cheaper than canned, but also more time consuming. Peas I prefer frozen anyway. If you use canned beans, just rinse them first to reduce the sodium.
I think what they mean is to eat legume type beans rather than string beans or other more "vegetable type" beans.