The game is not setup to max everything out before moving up an Age. You should upgrade to each age after offense is maxed to take advantage of the extra workers, wonders, and discounts you can unlock in the library and university. Otherwise your wasting those discounts especially for things...