I think you failed to input the necessary options needed to answer this question. But I will share to you what I got.
The line, "and thus the whirlgig of time brings his revenges" means you reap what you sow. Whirlgig is originally a top or any rotary device—becomes in this phrase a metaphor for time, which whirls back at a person what he has done during his life.