EVs start their life with a higher environmental burden than ICE vehicles, but the math comes out so that the burden becomes lower after between 15k-20k miles.
By the end of life of an EV, they are more eco friendly than an ICE vehicle of similar build.