The Earth's axis leans toward the Sun. The north gets long days in summer.
The axis now points sideways. Day and night are about equal.
The axis leans away from the Sun. The north gets short days in winter.
The axis points sideways again. Day and night are about equal.
The Earth keeps this same lean all year. That fixed lean makes our seasons. It is not how far we are from the Sun.