Depends on whether it is rotten. Observe whether there are any signs of rot on the outside of the beans, and smell whether there is any peculiar smell on the beans. If there is no smell, you can eat them. However, frozen beans lose nutrients and taste bad, so it is not recommended to freeze beans.
Bean (Vigna unguiculata), also called cowpea, is a vegetable abundant in summer. It is a cultivated species of cowpea that can form long pods and is an annual twining herbaceous plant. Also known as carob beans, long carob beans, belt beans, and skirt beans. Contains various vitamins and minerals, etc. Tender bean pods have thick flesh and are crispy and tender when fried. They can also be blanched and eaten cold or pickled. The pods are long and tube-shaped, crisp and soft. There are two common types: white beans and green beans. When purchasing beans, it is generally better to buy beans that have uniform thickness, bright color, transparency and luster, and plump seeds. Beans with cracks, skin wrinkles, too thin strings without seeds, or insect marks on the surface are not suitable for purchase. Beans are very nutritious and are the meat among vegetables.