Perhaps I was a little hasty in saying “all” - there were lies that were repeated so often that they became absorbed into some people’s stereotypes - remember the “sideways vagina” thread? Apartheid South Africa and Nazi Germany were particularly adept at this sort of propaganda.
But I would stand by a claim that most stereotypes originate in an experience based on a limited selection of people who share some characteristic which is then assumed to be true of all people who share that characteristic.
Still, most stereotypes did not arise in a vacuum. They usually developed after a behavior pattern or trait was seen with great frequency and consistency among several members of a racial or ethnic group. The mental process of generalization produced the stereotype. Some stereotypes are positive and some are negative. All are irrational and anti-individualist.
From this article dealing specifically with Jewish stereotypes, but I think the comments are generally applicable.
Grim