Introductory Statistics 2e, Chapter 12, p. 631
A sample correlation might be nonzero just by chance. A significance test checks whether the population correlation differs from 0 — i.e., whether the line is useful for prediction.
Textbook: OpenStax Introductory Statistics 2e (CC BY-NC-SA 4.0). Access for free at openstax.org.