Answer:
It was safer than being out on the streets where Jewish people were taken away to concentration camps, though the Franks and Van Daans (Van Pels) still lived in danger. There were robberies of the warehouse, and there was always the possibility they could be discovered.