In a normal eyeball, the lens bends the incoming rays and converges them exactly on the yellow spot of the retina.
In a myopic eye, the eye ball is big and the rays converge in front of the retina.
In a hypermetropic eye, the eyeball is small and the rays converge behind the retina.