If students would always look carefully and critically at the relevant sources Wikipedia cites, assess their authors’ biases, compare multiple sources, etc., before ultimately picking what to cite, that would be one thing.
But what happens instead (in people’s published journal papers! not to mention news articles, etc.) is authors lazily crib material from Wikipedia and then either cite nothing or randomly pick works from among Wikipedia’s sources to cite without ever looking at them.
If you are writing a paper you should cite where you got the information. If the only place you looked was Wikipedia, that’s not great research practice but you should still cite Wikipedia. Honesty is an even more important part of scholarship than diligence.