The "impurity" isn't the problem. The problem is that such integration tests take a longer time to run and in aggregate, it takes minutes to run your test suite. This changes how often you run your tests and slows down your feedback loop.
That's why you separate them: not because the integration test isn't valuable, but because it takes longer.
That's why you separate them: not because the integration test isn't valuable, but because it takes longer.