What is the purpose for the length of a Senator's term of office?

This motivates the Senator to be honest and to work for the people or state that elected them. They won't get too comfortable in their position.