Although there are many good answers to this question I believe some important points where left behind and since this question came up with a really interesting point I would like to provide yet another point of view.
Why isn't variance defined as the difference between every value following
each other instead of the difference to the average of the values?
The first thing to have in mind is that the variance is a particular kind of parameter, and not a certain type of calculation. There is a rigorous mathematical definition of what a parameter is but for the time been we can think of then as mathematical operations on the distribution of a random variable. For example if X is a random variable with distribution function FX then its mean μx, which is also a parameter, is:
μX=∫+∞−∞xdFX(x)
and the variance of X, σ2X, is:
σ2X=∫+∞−∞(x−μX)2dFX(x)
The role of estimation in statistics is to provide, from a set of realizations of a r.v., a good approximation for the parameters of interest.
What I wanted to show is that there is a big difference in the concepts of a parameters (the variance for this particular question) and the statistic we use to estimate it.
Why isn't the variance calculated this way?
So we want to estimate the variance of a random variable X from a set of independent realizations of it, lets say x={x1,…,xn}. The way you propose doing it is by computing the absolute value of successive differences, summing and taking the mean:
ψ(x)=1n∑i=2n|xi−xi−1|
and the usual statistic is:
S2(x)=1n−1∑i=in(xi−x¯)2,
where x¯ is the sample mean.
When comparing two estimator of a parameter the usual criterion for the best one is that which has minimal mean square error (MSE), and a important property of MSE is that it can be decomposed in two components:
MSE = estimator bias + estimator variance.
Using this criterion the usual statistic, S2, has some advantages over the one you suggests.
First it is a unbiased estimator of the variance but your statistic is not unbiased.
One other important thing is that if we are working with the normal distribution then S2 is the best unbiased estimator of σ2 in the sense that it has the smallest variance among all unbiased estimators and thus minimizes the MSE.
When normality is assumed, as is the case in many applications, S2 is the natural choice when you want to estimate the variance.