Until she reads his letter, Lizzy has been staunch in her prejudice against Mr. Darcy based on a bad first impression, despite mounting evidence to the contrary.
She realizes she has interpreted all his actions incorrectly due to a mistaken pride in her own cleverness.