How to have confidence?

How can someone have/build confidence when they are inadequate? A lot of women do not want to date me because of my height and they even make fun me, sayings things like I will never find a women because of my height. How can I have confidence when women don’t think I’m attractive?
How to have confidence?
Post Opinion