Mining in and of itself is not the problem here. It's a necessity and legitimately employs a lot of people in various countries.
The problem is mining companies behaving unethically or illegally while governments turn a blind eye. It's not the only industry suffering from this problem (the arms industry comes to mind as another).
We can have mining without this behaviour and that should be the goal, not "end mining".
The solution is an international standard for corporate behaviour, else companies which come under fire in their home country might just move offshore. Meanwhile, though, Canada does have laws around corporate behaviour in foreign companies. Enforce and strengthen them. Sure, that might send them offshore, but at least we're not in the position or condoning their actions or turning a blind eye.