For-profit companies operating carceral facilities is just not the main reason things are so bad.
There is an easy way to see this: lots of public, government run jails & prisons are also brutally awful and evil places. For example, Rikers Island is not a private prison. On top of this, private facilities incarcerate only a small percentage.
You could turn all the private prisons over to be operated by government employees and not much would improve.
On the other hand, it is true that many problems in the carceral system are created by profit-seeking companies. Mainly they look like what we see here: contractors operating a single service possibly winning the contract through kickbacks, and then providing a bad service. You see this in food and healthcare too not just telecom.
I guess it is true that private prison operators will want to do the same thing. But it's a problem for all facilities, not just the small number of private facilities. And even if you could solve these issues via regulation or competition, it wouldn't change the many other evils that are inflicted on incarcerated people.
So I can't understand why "the US has private prisons" appears to be everybody's primary talking point about why the US carceral system is so awful.