Yes, there has been a cycle going on in the most recent era of flipping between glaciers growing and shrinking. I don't recall the actual date but the most recent maximum glacier coverage was on the order of 30,000 years ago. The whole of human civilization we know about more or less happened since the last retreat of the glaciers.
There have also been times when the polar caps melted completely and there were rainforests pole to pole.