You realize true friends when you buy a refrigerator off off Craigslist and only have a Chevy Chevette to move it in. It isn't so much people purposely walk out on you, it's that they have their own lives to lead and sometimes you're just in their way.
Everybody goes through hard times. It's how you deal with those hard times that builds or destroys character. If you honestly try to better yourself and your circumstances, most people do lend a helping hand. But if you whine and complain and look for answers from people who really can't help much, well, they tend to get scarce on you.
The trick is to find a balance between what people can do for you versus what you can do for yourself. It's a give and take beneficial situation, not just one sided where one always gives and one always takes. Looking up to people should be reserved for the upmost virtuous individuals who show true character and moral fiber, not just a perceived niceness to you.