Before a foreclosure sale takes place, the default can be cured and the borrower can exit the foreclosure process by paying all delinquencies and costs in a process known as