Let $(E, \lVert \cdot \rVert )$ a normed vectorial space. If every subspace of $E$ is closed, then $E$ has finite dimension.
I have seen this as an excercise of a Functional analysis book and I am wondering how to prove it. My first thought was to do it by contraposition, supposing that $E$ is infinite dimensional, which implies that the unit closed ball $\overline{B} (0 ; 1) \subseteq E$ is not compact. I had the intuition that this could be used to construct a subspace which is not closed, but I am not getting it.
Any possible help or suggestion on the way to prove this would be appreciated.