That’s really only true for new cars. As an ICE car ages, the standard deviation for maintenance costs starts to go up quite quickly. Some cars will only need oil and gasoline until they fail, but some will suffer extremely expensive failures.
Get a used toyota corolla. It'll last for hundreds of thousands of miles with minimal issues if you maintain it (oil change, brakes, etc.) At the cost you'll pay, even if it does break down, it'll still be far, far less than the cheapest electric vehicles.