It’s called SELF-esteem for a reason. You can not look for outside forces to validate you. Sure its great if it happens, but then life is bound to show you that you better be okay with yourself because people can, will and do disappoint you.
Be confident in yourself. You will never be perfect; if you are waiting to be perfect before having confidence and self esteem, you will be waiting a long time!