It will help him in the future not to get into this situation by not overstaying his visa. He asked for "advice" and he got "advice" or the future of what to do in the future to not get in this situation.
The OP was also apparently offered advice as per the below, not by some randoms on an internet forum but from an immigration official, but didn't seem to take on the advice: