There are a few situations where the e-bike clearly is better, in my opinion.
-If you do not have a garage or carport, the e-bike can be stored in doors. (charge lithium batteries outside, though).
-If your route requires that you ride sidewalks and multi-use paths, you can ride the e-bike at normal bicycle speeds under electric power. Somebody will likely call the police if you do that with a gas bike. (The roads in my area have high speed limits, so I don't feel safe riding an assisted bike on them.
-For most other situations, I would ride a gas bike and enjoy the lower cost.