Neither M-W on line nor Bartelby.com recognize wherefor*. They both agree with Boby on therefor(e).

Nor does Ænigma, who suggests [wherein].