Paedophile 'destroyed family', court told