Lack of confidence is not the consequence of some fantasized "mental insecurity". It is a sign of a genuine and concerning lack of skill, which makes you inconsistent, hence not confident
The only way to fix it is to grind more so as to acquire more skill, not to seek therapy