You do realize that the process to create gasoline uses more electrical power than the distance it provides your gas engine (if you were instead to ride electric).
Many people have the option to buy renewable energy or put solar panels on their roof now.
How about the pollution you drop on anyone else using the roads? Joggers, cyclists, kids playing in their yard - they are all breathing in your ICE pollution. Even the ebikes powered by coal - the powerplants are usually way out in the countryside and have better emission controls.
My ebike goes 22 miles at 25mph cruising, no pedal. It launches off of red lights faster than traffic. It has regenerative braking so there is essentially zero brake maintenance. It can go up to 40mph. I never need more than 22 miles with my traveling. Refueling takes 4 seconds to plug the charger in. I can store my bike indoors. I can ride my ebike on bike paths with no one caring. I can avoid high traffic car routes due to these bike facilities.
Most importantly, I am so quiet that no one (most notably police) ever takes a second look at me. I'm just a fast cyclist with a few pedal strokes. I don't disturb the peace. I don't smell. It pays for itself in gas savings in about a year of use, over my Honda Civic. Batteries are lithium iron phosphate and are rated to last 2000 cycles before falling to 80% range.
Gas is fine if you have a very limited budget, don't live in populated areas where people don't want the noise, where you need to travel far distances. I had a Yamaha Zuma 50cc scooter before I got into ebikes. It just wouldn't work as well for me now where I live in a more urban area.