He savages his brother David for turning him in, claiming David was seeking revenge for the attention Ted got from their parents.
David, his brother, turned him in because of a sense of right and wrong, not because of his brother's accusations.