Beans and rice are both great staples and it makes sense to store them if you have the room. However, saying that they're more protein than beef is absurdly wrong.
A dehydrator is another good option for preserving perishables. The shelf life is a bit shorter than most people would think, but properly packed and sealed you can get at least 3 months or so.
A freeze drier will preserve perishables for significantly longer than a dehydrator, but they cost an order of magnitude more. If you have a big garden or something though the three grand outlay might be worth it.