Additional points to maybe think about:
If you have an annual work review process this is always a good source of extra information about what you have done and what your strengths / weaknesses are.
Don’t be afraid to ask for feedback. I went through a phase of applying for jobs and not getting any interviews. So for one that I thought was a particularly strong application I rang up and asked for feedback. A very nice lady went through my application with me and explained what she would have been looking for. I took on board, changed tack and the next 3 applications all turned into interviews.
Sometimes it is not your fault – don’t be so hard on yourself. Now I’ve had my fair share of mis-understandings, wrong end of the stick, not quite prepared well enough but sometimes despite my best efforts it wasn’t my fault.