however , elizabeth soon realizes that her prejudice led her to judge darcy 's outer character and to fail to see his genuine modesty , while darcys prejudice had veiled his eyes from the truth and he later realizes that he had committed a mistake in judging elizabeth and her family .