Just because it was used as a medicine back then doesn't mean the ancient Hebrews knew about it. My guess is that they didn't even know about the plant, since there really isn't any good historical evidence to support the idea that they did. Of course, that doesn't make a lot of sense if you believe in the Bible, since any all-loving God would certainly share his tremendous stash with his chosen people.