Did you factor in the higher registration cost and possible insurance differences?
$5k is a big difference to me. I'd probably go with the used one, buy a Subaru extended warranty (not an aftermarket warranty), and add Bluetooth. You can also add backup cameras and throw in some fancy lightbulbs as well.