It is a myth that sitting too close to a screen will cause your eyesight to deteriorate. Time spent using screens contributes to eyestrain, but not a change in vision (supposedly)
And because age does cause your eyesight to deteriorate and you need to accumulate age to accumulate time spent in front of screen, people think it must be all the time in front of the screen.