A student attempted to generate an equivalent expression using the distributive property, as shown below:

7(y − 5) = y − 35

What was the mistake made?