Murder accused told police ‘I don’t deserve to be alive’, court hears