He had eighteen thousand francs inherited from his father. He would have to borrow eighteen thousand more, but he had committed himself to paying "ruinous" interest on a large part of the borrowed money--possibly something like twenty percent per annum. So by the time the Loisels finally got the necklace paid off,
I believe the answer is "to convince readers that Britain has treated the colonists unfairly"