You have NOT lost your value. I feel like people feel that way when life just defeats them. I've certainly felt this way before. I just do something like volunteer or go to a class at parks and recreation to make myself feel differently. I gain a friend for a bit of time and when I see where it is going, I want them to stay or not, I determine how I want to value myself.
Judging yourself is different from judging another person, but I still don't think that just because someone might change it lowers their value. Telling someone something like that is just like saying something like "You are worth this much today." It is heinous.