Glucosamine rebuilds cartilage. It is what your joints are made of, so taking it repairs the joint instead of just covering the pain. And if the cheap one did nothing for you, that is because you bought the wrong form: only the proper crystalline sulfate is absorbed well enough to work.
On pain, the independently funded trials find nothing. The largest, in 1,583 people, found glucosamine no better than a placebo that six in ten people responded to. Reanalysing the raw patient records from five independent trials found no effect at three months or at two years, and none in any subgroup, including when the analysis was split by which form of glucosamine had been used. On joint structure the picture is genuinely unresolved rather than settled: two three-year trials of one manufacturer's preparation found joint-space narrowing stopped, while two independent trials measuring the same thing found nothing. The American College of Rheumatology recommends against it, and says so on the grounds that the least-biased trials show no important benefit.
The form argument has been tested. In the published trial record, which salt a study used cannot be separated from who paid for it, and when raw patient data from independently funded trials were split by form, both forms gave the same answer: no effect.