The key here is the FORCE and not the PRESSURE...

Yess the pressure remains the same at the small and large piston...but altering the size of the piston at the other end, we actually can gain more FORCE, greater force means we have more ability to lift heavier loads by using small force.