You have value whether you succeed or fail.
Nobody can create another you. If you are no more, the world will be minus one person. If the richest person in the world is no more, the world will be minus only one person not two. Hence, weather you are rich or poor you have value.
It is wrong for anyone to think that because someone is poor the person does not have value and can be treated shabbily. To treat anyone shabbily is the violation of human rights. We all deserve to be treated honorable; with dignity.