TL331: Why is the TL331 output always low?

Part Number: TL331

I am using the TL331 for voltage comparison. It is supposed to output a high level when the input voltage is 5V and a low level when the input voltage is 4.5V. However, I have observed that when the input is 5V, IN+ reads 3.4V, but the output is a low level. Why is this happening?

image.png