What is the main cause of habitat destruction?

The activity of humans is the primary cause of habitat destruction. Farming and logging are two of the activities that cause the most damage, urbanization is another problem.