Then why don't they do that? That idea has been around since Reagan?You have the concept wrong.
To take out ICBMs, lasers need to be put in orbit. Thereby they don’t suffer from absorption nor turbulence. Ranges in excess of 1000km should be feasible from the perspective of targeting systems. In outerspace IR gets fantastic contrast against such targets.