In order to abandon a sin, you need to abandon everything associated with that sin including the place and company of that sin.