Brown the onions in 3 tablespoons oil in a large pot. Add 2 teaspoons salt, 1/4 teaspoon pepper, and 1/2 teaspoon turmeric. Pour in 10 cups water and add kidney beans, navy beans and chickpeas; bring to boil, skim the froth as it forms, reduce heat, cover and simmer for 45 minutes over medium heat.
Add lentils and beef broth. Cook 55 minutes longer.
Add chopped chives or scallions, dill, parsley, spinach and beet. Continue cooking, stirring from time to time, for 1-1/2 hours or until the beans are tender. Correct seasoning and add water if the soup is too thick.
Add noodles and flour and cook about 10 minutes, stirring occasionally. Stir in the liquid whey (or vinegar) and mix well.
Pour the soup into a tureen and serve.