Having reviewed the dialog, I don't think Sisko is being prejudiced when he brings up that Nog is a Ferengi. He is pointing out that the Ferengi live under a certain philosophy that is incompatible with the ideals of Starfleet and is asking why someone would want to join an organization with different ideals than those of his native culture. "Where's the profit in it?" This allows Nog to then explain himself.