i am reminded by a story once told in history at school in salisbury , robert the bruce , king of scotland had almost given up in his fight against the english , when sheltering in a cave he watched the efforts of a spider mending its web , this had inspired him to persevere .