Is it really impossible to become a professor?

You mean tenure track? It depends upon the demand for your field/specialty when you graduate. Even if you land a tenure track position, you may not end up getting tenure. It is very tough in general to get a tenure track position, but I don’t think it’s necessarily quite as dire as what people have been telling you. It also depends upon how flexible you are as to institution and location.