Based on my own unfit experience living up-slope/hill.. The last 4miles of 1 route out of the city here is upslope, shorter routes include hills

If you could pedal yourself up a hill pre ebike you should sail up with assistance, The hills that required me to drop into low gears and puff n pant my way up are now traversed with my arse comfortably in the saddle..
just be mindful if the motor is labouring uphill and your speed drops below 8mph the motor could start to overheat, not a huge issue if at the crest of the last hill home.
enjoy your bikes.