The boy told a judge: 'I need to improve my life'