Let $f_n:[0,1]\to \mathbb{R}_{\geq 0}$ be a decreasing sequence of smooth functions (i.e. $f_n\leq f_m$ if $n\geq m$) that converges pointwise to $f$. If $m_n = \max f_n$, then we have that the sequence $\{m_n\}$ is decreasing and bounded below by $\sup f$, so it converges and
$$\lim_{n\to\infty} m_n \geq \sup f.$$
Is this an equality? If not, what is a counterexample? If it helps, $f$ is piecewise constant.