For goodness' sake don't you ever on any pretext set your foot over the threshold at night, for
it's as much as your life is worth.
没看懂it's as much as your life is worth.麻烦老师分析一下成分和句意?
as much as (one's) life is worth
A very risky, dangerous, sober, or monumental thing to undertake.
It is as much as one's life is worth to face the freezing cold outside.
For all the talk about the democratic process, it feels like it's as much as your life is worth to actually bring about substantial change in politics.
So in your original post, it means:
It's dangerous to set your foot over the threshold at night.