So it's just the smugglers who are doing this, not the migrants themselves?
Unfortunately it kind of goes with the job description that people smugglers are not going to be nice altruistic people. They are probably some of the worst kind of criminals from all across the world. Some of the migrants they send over end up in modern day slavery of all kinds, in a way they are worse off, because they don't even have their freedom then.
Question is how do we stop people who are listening to the lies they tell? How do we convince them that these people who seem oh so nice at the moment just want your money and may ultimately do you untold harm?
The ultimate problem solver would be to end the problems and the poverty in these people's home countries. If people have good lives at home, no way will they be doing this. How to do this is a trillion dollar question. You don't just have to end war, you have to change cultures, emancipate women, educate, stop corruption, provide healthcare, irrigate better, change farming methods and so the list goes on...