Put the sugar and water in a pan and bring to the boil. Reduce the heat, stir in the figs and lemon juice, and simmer until the figs are tender and the syrup thickens. Stir in the pine nuts and continue to simmer for 5 minutes. Let it cool in the pan, then spoon into scalded jars.