The segregation of rich and poor is much more nuanced in Pakistan than in India. Unlike Indian cities where the rich have built themselves around the general population - monetary class divisions are much more enforced and regulated in Pakistan. Hence, Javed A isn’t wrong about not seeing poverty because class colonies are established separately and outside of the city centers and otherwise.
You will more likely than not stumble across poor engaging in street defecation in India but wont in Pakistan due to both facilities available but also somewhat stringent “cleanups” of areas by local LE and hired security.