I am watching the video https://www.youtube.com/live/N5nKGtugxYY?si=ejLqW8Pk0jD9lVMn&t=2098
Or particularly this slide:

May I ask why does the reject sampling output by $f(x)/g(x)*M$ probability? Why not just $f(x)/g(x)$?
Or, in other words, why that $Pr[x]=f(x)/M$ is desired? Why not just $Pr[x]=f(x)$?
TIA