As you get going further and faster, this energy redshifts further and further making it less and less useful. Also there’s of course the problem of focusing a laser with that amount of energy tightly enough on an object increasingly far away.
GP has it backwards too. For 1g of acceleration, none of the beam that is produced after a year will ever reach the accelerating spacecraft. You only need to run it for a year.