To make it worthwhile (i.e. to claim the full tax credit in the year of investment), you need to have 50k of earnings at the higher tax rate, which would mean earnings of 82,800 in one year.
This would be based on no AVCs/other tax credits being taken and being assessed as a single person.