Here’s a long, detailed explanation of the history and (most importantly, economics) of weight machines and the problems with trying to get stronger using them. It’s by the author of Starting Strength, a seminal book on weight training.
https://startingstrength.com/article/barbells-machines-everything-else
On a personal note, I’m a 55 year old guy who has been lifting for 40 years. I’ve never really seen anyone stronger than what I’d call the “beginner” category who doesn’t primarily lift with barbells.
On the other hand, the best exercise is one that you will do. If you want to get started with machines, go for it.