Frege has the merit of ... finding a third assertion by recognising the world of logic which is neither mental nor physical.
To be out of harmony with one's surroundings is of course a misfortune, but it is not always a misfortune to be avoided at all costs. Where the environment is stupid or prejudiced or cruel, it is a sign of merit to be out of harmony with it.
Berkeley retains the merit of having shown that the existence of matter is capable of being denied without absurdity.