Depends. The primary purpose of prison should be to keep the dangerous away from society.
The research is pretty dismal when it comes to sociopathic children who demonstrate serious violence at young ages. The interventions need to happen quite early and intensely.