It's pretty much guaranteed on anything but deity. You may need a forest to chop on immortal, but you want that just to free the queue sooner. I will invest 15 turns at the beginning to get +1 food per 8 in every city. Further, unless you are super quick to education (turn 100), the temple will give you a great engineer around turn 130, as you are unlocking printing press or banking. Hanging gardens is situational. Playing science or culture but have a non freshwater capital? You want it because it's the only way to get a garden. Got a river coast start? Skip it and build the colossus, and use the ship to send food to your capital.