and this was the torture he devised for the affliction of urin the steadfast , and setting him in a lofty place of the mountains he stood beside him and cursed him and his folk with dread curses of the valar , putting a doom of woe and a death of sorrow upon them ; but to urin he gave a measure of vision , so that much of those things that befell his wife and children he might see and be helpless to aid , for magic held him in that high place .