the angry people of the then young kingdom of domremy had tried their best to eliminate every remnant of religious authority , and in their anger , had destroyed many precious writings that had nothing to do with religion , but were kept in the temple libraries .