Shit just happens sometimes, damn near my entire family including myself have maxed out credit cards trying to help pay for my gram's hospital care, hospice care, cancer treatments, etc. And I don't for one second regret any choice I made. No amount of money was worth the extra time it may have bought me with my gram.
There are so many other reasons people go into debt, school and trying to better themselves, trying to take care of their families, trying to afford the basic necessities like food, clothes and health care has put many people in debt.
Don't be so quick to judge because at the young age of about 20 and with no kids or family to take care of, while you still live at home with your parents you aren't in debt yet. You never know where you'll be at 37.