Ultimately I believe society would benefit by breaking such toxic cycles.
You also need to consider that a staggering number of men in prison in the USA for decades were jailed over cannabis, which is now legal in more states all the time. These are not people who we need to sterilize.
Any situation where an authority incentivizes a marginalized individual to be sterilized, there’s a serious problem.
An incarceration system, if it has any hope of working, must treat prisoners as people who can become valuable members of society in the future despite their past wrongdoing. When you decide that prisoners are a blight on society and that no rehabilitation is possible then prisoners turn into some kind of underclass that is to be disposed of, either directly or indirectly. That's real dark.