A student was solving the equation below and made an error in Step 1. What was the error?
Given: $3(x-1)+8=5 x+2$
Step 1: $3 x-3+24=5 x+2$
Step 2: $-2 x+21=2$
Step 3: $-2 x=-19$
Step 4: $x=\frac{-19}{-2}=\frac{19}{2}$
Given: $3(x-1)+8=5 x+2$
Step 1: $3 x-3+24=5 x+2$
Step 2: $-2 x+21=2$
Step 3: $-2 x=-19$
Step 4: $x=\frac{-19}{-2}=\frac{19}{2}$