It's more about the technique to make flavorful green beans. By sautéing at a high heat you'll have plenty of flavor from the butter and garlic along with caramelized edges. Another reason green beans may be bland is a lack of salt. Salt is critical to bring out all the yummy flavor.