Suppose that $\varphi : [a, b] \to \mathbb{R}$ is a simple function and let $\varepsilon > 0$ be given. Prove that there is a step function $g : [a, b] \to \mathbb{R}$ such that $g(x) = \varphi(x)$ except on a set of measure $\varepsilon$.
I was wondering if I could get a hint.