In many use cases, EVs are worse for the environment
Even in these cases, it might be better for the society in that pollution is no longer concentrated in towns and around roads but at power plants where mitigations can be centrally handled by solutions that can be made to scale
In many cases, EVs are far inferior. In many cases, ICEs are far inferior.
I think the poster above you is trying to say that the materials and operations involved in EV production are even worse than that of the ICE vehicles combined with the their post-manufacture emissions. As far as I understand, a completely electronic vehicle (not a hybrid) would produce no emissions of its own, compared to one with an internal combustion engine.
EV is do produce fine particles from brakes and mainly tires, but no combustion involved emissions. But it's still a great win, especially for the air quality in cities and with that, the total health impact for the population they cause.