EVs are good for the environment overall but you are not going to fix climate changing by buying more things.
Most of the criticism towards EVs comes from the idea that buying the shiny new thing is a net positive when it's actually less harmful than buying a traditional car.
Tldr: if you are going to buy a car, buy an EV, but don't just buy a new car just to switch to EV if you don't need it.