Random walks on weakly hyperbolic groups