Demolish enemy temples and build your own ones (preferably to gods of justice).
Do this before it gets too late, since you'll likely get a hapiness drop until you can get your own temples built!