Rambam describes why the Torah and the Prophets chose to describe God using anthropomorphic terms.