The "many" has nothing to do with the "people", they are separate.
If you had said something specific like "people who generalise need to stop", then that would not have been a generalisation. But you didn't, you said "if people would stop generalising", which is a generalisation.
You don't say which people need to stop generalising, therefore it is a generalisation.