but this was not to be , for the foundling boy , given his name because he had been discovered abandoned in forest near dunsnane , had been plotting secretly to kill his benefactor and take his miraculous purse .