Remove the grammatical errors from the given text:
They live in tents that do not protect them of cold weather or dangerous insects.
They live in tents that do not protect them from cold weather or dangerous insects.