Is spending £2.5 billion on extra prison spaces the answer to violent crime?

https://www.bbc.co.uk/news/uk-49309112

Or would the money be better spent bringing young people out of poverty and diverting them into positive activities and meaningful jobs?