Why do we all have this little negative voice that tells us we aren't good enough, not lovable etc. that attaches in every areas of our lives?

It occurs especially when you fail things too often and think about to quit and seek comfort as soon as possible.
Why do we all have this little negative voice that tells us we aren't good enough, not lovable etc. that attaches in every areas of our lives?
Post Opinion