In general, when anything is "merit based" it means that it relies strictly on the knowledge and ability of the person in question, instead of special privilege such as family connections. <span />
There were fewer people at that time and even though they had their religion and myths there were still a lot of unanswered question that people like philosophers would try to find answered for.