Summer is not hot because we are closer to the Sun. How the tilted axis changes the angle of sunlight and the length of the day.
Ask why summer is hot and you will often hear that the Earth gets closer to the Sun. In fact the Earth is closest to the Sun in early January and farthest in early July.