If the provident fund loan from Guangzhou is changed to work in Foshan now, and the provident fund is paid in Foshan, in theory, you can continue to repay the loan with the provident fund from Foshan.
According to China's provident fund policy, the provident fund accounts of each city are relatively independent, and certain conditions need to be met to realize cross-city transfer and repayment. Specific requirements vary from region to region. You can consult the local provident fund management center or bank to obtain the most accurate information and requirements.