By not good for you I don’t mean it will have immediate effects but you will have to deal with kidney stones down the line.
Some of those vegetables are staples in vegetarian cuisines like here in India. There would have to be a huge epidemic of kidney stones if the latter claim was true.