That is a good analysis.
It is actually a summary of something Dennis Prager said.
Is the holy book the literal word of god and thus its commandments absolute? If yes, you’re a conservative Christian/Jew, and probably politically conservative too.
If no, you are much more likely to be religiously liberal and politically liberal as well.