Weak itinerant magnetism as inhibited superconductivity