A quantum system is often given as a wavefunction of position. This is a vector in a continuous, infinite-dimensional vector space, with uncountable dimension.
However we also know that the energy eigenkets are complete, which means that the dimension of the space should be able to be given by the number of energy eigenkets. How can this be, when the energy eigenvalues are often discrete, and hence of a countable number?