An endoscope is provided with a main part, an endoscope shaft and an imaging lens system. An imaging lens system includes a correction module, which comprises a splitter unit and a superimposition unit. Light is routed to the correction module via a first beam path, which is split into a first and a second partial beam path by the splitter unit. The splitter unit guides light from the visible spectrum into one of the two partial beam paths and light from the near infrared range into the other partial beam path. The superimposition unit superimposes the light from the two partial beam paths and guides it into a second beam path, coaxial with the first beam path. The optical path lengths of the two partial beam paths for the light from the visible spectrum and the light from the near infrared range are selected such that they are different.