Before even reading what you have done, we must know basic facts.

What sort of space is X?

Is X a general topological space?

Is X a metric space?

Is X simply the set of real numbers? This is the only way you have LUB property.

Please give a complete answer.