According to Wikipedia green beans are legumes.
"Green beans (American English), French beans or runner beans (British English) are the unripe fruit of any kind of bean,"
and under Bean
"Bean" can be used as a near-synonym of "pulse", an edible legume
The "Seven Deadly Sins"
• Grains (wheat/rice/oats etc) . . . . . • Dairy (milk/yogurt/butter/cheese etc) . . . . .• Nightshades (peppers/tomato/eggplant etc)
• Tubers (potato/arrowroot etc) . . . • Modernly palatable (cashews/olives etc) . . . • Refined foods (salt/sugars etc )
• Legumes (soy/beans/peas etc)