Right, so he made a bad decision by taking the job. It's still much better to realise you made a bad decision and cut your losses (by quitting), than blindly sticking with it.
Given he was about to quit anyway if he wasn't offered a raise, there was no harm to asking.