It's just a bit difficult to get your head around the numbers.
For hub motors, the torque is measured at the wheel so the tyre diameter is important, the resulting climbing force at the point of contact with the road is inversely proportional to the radius of the tyre.
Smaller wheels correspond to greater climbing force.
Big wheels need big torque to turn, for the same wheel, More NM is better.
I can show you how to calculate the minimum torque needed to climb comfortably a steep hill if you like. You need the minimum speed (like 8mph), the total weight of you and the bike and the gradient of the hill. Subtract from that your own pedalling contribution, you'll arrive to what the motor must supply.
For crank drives, the torque is measured at the chainring and the resulting climbing force at the wheel is inversely proportional not only to the radius of the tyre but the front to rear transmission ratio too. It follows that crank drives can excel at hill climbing by good use of gears, having a small front to rear transmission ratio.