Well, ancient Israel and Judah always had prophets advising them. If the government ignored the prophet, they walked right into disaster; if they heeded the prophet, they returned to prosperity and security.
The two societies are not intended to be spiritually congruent. Israel was raised to serve not as a model for good secular government but as a model of serious holiness.
Also, please note I’m claiming nothing against the value of evangelizing a society to the point that points of Christian faith become influential. The result is very salutary. Just that a “church” (congregation, called worshipers) shouldn’t try to co-opt a government. That even failed in the case of Israel (you know they were warned about kings) and God was fully expecting it to fail.