When the ruler is obedient to God, God is his protector and friend.