It's the optimal solution if you wan to optimize the probability of hiring the one best secretary out of all the candidates. When hiring you usually care more about maximizing the expected "goodness", hiring someone in the top X%, or anyone who meets a certain bar.