Lost my senior accountant job

Hi I am a licensed CPA but I recently lost my job because of performance issues.I was working as a Senior Accountant and in my terms I was working hard and doing well.My manager told me that I lack problem solving and analytical skills so he asked me to leave.This has happened to me the second time when I lost my jobs b because of performance reasons.At each just b my tenure was one year.Does that mean accounting is not for me, how can I help myself?.