High salt foods, beans, legumes, wheat bran and caffeine have all been shown to be bad for osteoporosis. Whereas eating a diet that includes high levels of calcium, vitamin D, zinc, vitamin K, magnesium and vitamin C is good for people who are suffering from the condition. Drinking too much is also bad for osteoporosis because it slows the formation of new bone.