the latter of these groups soon gained the mastery over the other , as their long lives endowed them with a prudence the tribes of men could not match - or , so it has always been taught in the elvish histories .