As consumers we have the power to vote with our wallet. I'm actually proud to say that the last Apple product I bought was the iPad generation 1 for these exact ethical reasons. I'd really encourage others to look at the companies they buy from and see if they align with your morals before making a purchase.
Clients of Foxconn include Amazon, Microsoft, Cisco, HP, Dell, Huawei, Nintendo, Sony, Toshiba, Motorola, Blackberry and many more. They don't just make iPhones. Next time you look at an XBox or Switch, guess where it came from? Do you know that workers prefer to work on the Apple lines because Apple has greater say in the factory conditions than the other clients and pays the workers on their lines more? When you looked into the companies you buy from, how far did that research go?