Pretty much. I'll sometimes put one in a border city in the long buildup to the first war, but I tend to hesitate to advise that, especially since I'll purchase or buy them. I only do so as a way to attempt to prevent a flip, but I'm skeptical it helps enough. Sometimes for a border expansion inland. Coastal cities can use them to make more commerce, but in both cases, hopefully I'll sell them soon after that.I haven't built a temple in a very long time ... am I right that they are almost always useless except for cultural victories?
They are useful in any histographic game for border expansions for coastal cities.