In the circuit shown you operate the LED at the output at a voltage of 5 Volt. However, you operate the comparator circuit still at 5 Volt.
This results in many practical applications of a comparator circuit with an open-collector output. More on this later...
However, in the next experiment you revisit the LOW-state of the open-collector output...