Alendronate , the generic name for Fosamax, is used to treat osteoporosis (decreased bone density)