Decide on what’s most important.
For mostly off-road, frequent or long hills - mid-drive motor, which will use the bike’s gearing effectively.
Try to ride a hard tail (no rear shock) and full suspension bike and consider where you ride. I like FS for all purpose, but others will say they’re good including off-road without a rear shock.
Power of motor. This is somewhat an unfortunate mess IMO. Europe has been a bigger market for ebikes, but they limit power to 250W nominal, and 25km/h or so…close enough to US ‘class 1’ general ebike definition, including no throttle option. Each state has its own regulations so it’s worth checking if there are restrictions where you plan to ride.
For reasonably fit people, a Class 1 ebike can be fine to ‘ok’..depending on where and how hard challenging the terrain. On the road and flat they’re certainly fine. Hills and off-road is where they can really make you work. Assistance stops at 20mph, which isnt terrible off-road and for some on-road.
The US more or less (state dependent) recognizes class 1, 2 and 3, with 3 being 750W nominal power and may have a throttle but assistance stops at 28mph. Some states don’t have power limitations or limit to 1000W.
Assistance by the motor can be cadence based or torque-based. The former to me is more like a binary switch and you can wind up ‘ghost pedaling’ unless you go to higher gear and/or reduce the assistance mode (most bikes have 3-5 levels of assistance, easily changed while riding). Bikes/motors with torque sensors feel much closer to normal bicycle pedaling, adding power based on how hard you are pedaling along with the mode level.
Even being out of shape currently, I much prefer torque sensing systems, but YMMV.
For an ‘all arounder’ you could look at a ‘fat tire’ bike with a Bafang M620/Ultra motor or M600 (both torque-sensing), or lower power but likely smoother power delivery one oof the EU style/class 1 or 2 ebikes from Trek, Giant, and others with Bosch, Shimano, Yamaha or Brose motors. If you can find a local ebike shop or REI - these are the types they usually carry. You can choose across fat tire, mountain bike or road tires fore the Bafang-powered bikes, or anything but fat tire for the others.
It’s worth finding a shop carrying ebikes if you can, or renting one, regardless of type, just so you can sort what you did and didn’t like about it.
Good luck! If you give more specifics, I’m sure it will help with more specific recommendations..