The metallic bonds is pure Sodium are much less than those in pure Magnesium, making it softer. Magnesium has stronger metallic bonds because, first of all, it has a smaller atomic radius to begin with because it has one more proton than sodium. This puts the atoms closer together, making them have a much stronger attraction to one another.