Myopia is a refractive error which means you can see close things clearly, but things in the distance are blurred. Short-sightedness occurs when the eyeball is too long due to tension in oblique muscles or ciliary muscle contraction.
Consequently, light rays focus at a point in front of the retina, rather than directly on its surface.