E-Mountain Bike vs Regular Mountain Bike

Hi everyone,

I'm a beginner rider debating between an e-mtb vs a regular mtb;

My primary concern is that the e-mtb will not give me enough of a workout, both cardio and muscularly. I want to ride all types of trails in the LA region mountains.

Can anyone provide insight?