[guided]We need exactly the structural facts about $F$ that make an inverse-threshold construction work. First, if $x_1\le x_2$, then the interval $(-\infty,x_1]$ is contained in $(-\infty,x_2]$. Because $\mu$ is a measure, it is monotone on Borel sets, and therefore
\begin{align*}
F(x_1)=\mu((-\infty,x_1])\le \mu((-\infty,x_2])=F(x_2).
\end{align*}
So $F$ is nondecreasing.
The next point is right-continuity. Fix $x\in\mathbb R$, and let $(x_n)_{n\ge 1}$ be a decreasing sequence with $x_n\downarrow x$. Define
\begin{align*}
A_n:=(-\infty,x_n]
\end{align*}
for each $n\in\mathbb N$. These sets are Borel sets because they are closed intervals of the form $(-\infty,a]$. Since $x_{n+1}\le x_n$, the sets decrease:
\begin{align*}
A_{n+1}\subseteq A_n.
\end{align*}
Their intersection is precisely $(-\infty,x]$: a real number belongs to every $(-\infty,x_n]$ exactly when it is at most the limit $x$. Since $\mu(A_1)\le \mu(\mathbb R)=1<\infty$, continuity from above for finite measures applies and gives
\begin{align*}
\lim_{n\to\infty}\mu(A_n)=\mu\left(\bigcap_{n=1}^{\infty}A_n\right)=\mu((-\infty,x]).
\end{align*}
By the definition of $F$, this is
\begin{align*}
\lim_{n\to\infty}F(x_n)=F(x).
\end{align*}
This is the right-continuity of $F$.
Finally, we verify the endpoint limits. Define $B_n:=(-\infty,-n]$ for $n\in\mathbb N$. Then $B_n\downarrow\varnothing$, and continuity from above gives
\begin{align*}
\lim_{n\to\infty}F(-n)=\lim_{n\to\infty}\mu(B_n)=\mu(\varnothing)=0.
\end{align*}
Define also $C_n:=(-\infty,n]$. Then $C_n\uparrow\mathbb R$, and continuity from below gives
\begin{align*}
\lim_{n\to\infty}F(n)=\lim_{n\to\infty}\mu(C_n)=\mu(\mathbb R)=1.
\end{align*}
Because $F$ is nondecreasing, the integer limits force the full real limits:
\begin{align*}
\lim_{x\to-\infty}F(x)=0
\end{align*}
and
\begin{align*}
\lim_{x\to\infty}F(x)=1.
\end{align*}
These facts will be used to ensure that each quantile is finite and to prove the threshold equivalence.[/guided]