I think he actually said that the walls were to separate those who want it badly enough from those who don't. The point is not just that obstacles test you, but that they give you opportunity because others who want it less will give up and you will be the only one left.