The function of prayer is not to influence God, but rather to change the nature of the one who prays.
The safety of the state is the highest law.