I'd prefer if Amazon et al paid their taxes and society as a whole could decide how to spend it to better itself, through the democracy that we are supposed to live in.
(Context note: NYS 'jobs for tax cuts' program may be the most aggressive in the nation? I'm not an expert.)
[1]: https://goodjobsfirst.org/amazon-tracker/?state=New+York
Nor does it make this donation somehow responsible for stopping those other good things from happening.