This line in the tractatus is not about the individual’s knowledge it’s about the entire research programme’s ability to know something fundamentally unknowable. In particular Wittgenstein was referring to logical philosophers talking about metaphysics, which evades logical positivism. Even then he wasn’t against the practice of metaphysics, only the attempt to describe it with hard logic.