Reference:
This study found that Smith machine bench press offered similar chest activation to free weight bench, but stabilizer muscle activity was much higher in the free weight bench. Free weights should be the primary focus in your training for maximizing overall development, but machines can be used to focus more on individual muscles in a compound movement.