That our perception mediates our access to the outside world does not undermine our ability to deduce the existence of the outside world. We can't have 100% certainty that the outside world exists, but we don't need 100% certainty for knowledge. The question is which model do we give higher credence to: the one where all the structure inherent in our perception that suggests an external world is coincidental or internally generated, or the model where there actually is an external world and we perceive it through our senses. The latter model is more likely given various criteria, e.g. parsimony.