Something I’ve noticed with an ebike is I’m much less sensitive to finding the shortest/flattest route - a bit longer path with fewer cars is an easy trade-off to make.
I'd happily ride in a neighborhood that runs parallel to a major arterial if the choice is available.