So I don't own an ebike but I've rented an MTB ebike a short while ago and was able to comfortably do 70km while still having over 1/4 battery left. That being said, I did not have it set to the max the whole way. Mostly spent in eco mode which is more than enough
Some are pretty good, I think the last one I rented had 80 to 160km range depending on the power setting/terrain. I used it to visit around my home town, climbed hills (paved and in the woods), visited small towns 35km away, climbed the steepest road (7km, 600m height difference) in the area on full power, &c. and never worried about the battery. If I ever move back to the country side I'll get one for sure. You can even remove the 25kph limit and make it go up to 50kph if you get a license plate / insurance.
Ebikes have improved a lot in recent years. Bosch makes a large amount of the batteries used in ebikes and they have a handy website indicating what kind of range you can expect: