The topic is much more nuanced than that. For starters, even though electric vehicles are obviously the future of transportation (as fossil fuel will be eventually exhausted) the current production process is anything but eco-friendly, as it requires several materials that are pollutants and whose production needs a lot of energy. For example, heavy metals and other chemical components that are used or necessary to produce electric batteries.
Then there is the conversation about "where is electric energy coming from", because an electric car running on energy generated by fossil fuel is just moving the pollution, but not eliminating it. And renewable sources are not efficient enough to support even a partial conversion of mobility to electric, let alone a full worldwide change.
Electric cars are the future, but they still need significant progress in the energy storage department - which means better batteries with higher capacity, shorter charging times, and less polluting components. It's okay to adopt them now because the process is just in the beginning, but the current model is not sustainable and must improve to make it a viable alternative for full scale adoption.