Why I'm seeing this logic error

I recommend you follow the guidance provided within your image capture.