A magnet can attract only a magnetic substance.
Thus the given statement is correct.
A magnet can attract only magnetic substances.