The soybean plant's scientific name is Glycine max. Apparently it was named Phaseolus max, until they found out that the soybean isn't part of the same genus (Phaseolus) as regular beans, so they moved it to the correct one. Soybeans don't contain an especially high amount of glycine, and they're not sweet (glyco- being sweet), so it's a weird name