I missed this, sorry. Why do you think this? Shrines give +2 Faith. With God of the Sun, Granaries give +2 Faith, +2 Gold, +1 Food yield to a wide range of tiles, and accelerate City growth.
Granary gives a net of only +1 gold, not +2, because it still has -1 maintenance.
I just want to compare Sun (which people are saying is great) who builds Granary first to Fertility (people are saying is horrible) who goes shrine first.
Ignoring resources, after building just 1 building.
With Fertility and Shrine first, that city has +2 food, +3 faith, +25% growth.
With Fertility and Well first, that city has +3 food, +1 faith, +2 hammers, + extra hammers for population, +25% food.
With Sun and Granary first, that city gets +1 food, +2 faith, +1 gold, +15% growth retained.
Bison and deer resources don't actually favor the granary first as much as you would think. The granary gives bison and deer +1 food, right? Well, Fertility gives those 3 food tiles +0.75 food (and its not like you never build a granary, you eventually get that +1 food too). Its complex which is better, it will depend on positioning of rivers, other growth % boosts, and how many granary resources you have (but really Sun needs wheat, bison and deer benefit both). On average, Sun might have better short term, but I think Fertility has better long term. I don't think either is clearly better than the other, I just don't understand the people telling me Sun is OP even without floodplain science and Fertility is crap. I've played Fertility many times and I can tell you that your if second city goes well first it grows very quickly and has strong production, its a strong early game play.
After basic buildings are all built, this becomes
Fertility: 4 food, 2 faith, +25% growth
Sun: 2 faith, 2 gold, +3 food on wheat
Long term is simple. If you have enough wheat, Sun is better, and it should be better. Otherwise Fertility is better. I think if you ditch this science for floodplains things which causes you to just auto-win when the stars align, Sun is a balanced pantheon.