A man who cannot see clearly beyond 5 m wants to see stars clearly. He should use a lens of focal length
The person suffers from short-sightedness or myopia. The focal length of a myopic eye is the farthest point he can see. So, according to the sign convention, f = - 5 m.