Yes but what ships set out to do and what they are forced to deal with are too drastic things. A Captain has to be prepared for a first Contact, a pitched battle, a scientific discovery, etc. I don't see CAPT Solok joining Starfleet just to whoop some Jem'Hadar ass.
I highly doubt that the T'Kumbra was assembled soley for the Dominion War. Like everyone else they were forced to join the fight for the safety of the Alpha Quadrant.
* This was for your earlier post Pavonis. I got cut in on this one.
And all I can say is that there is no evidence that Solok isn't competent at any of the other responsibilities a Starfleet captain tends to have. We only saw him in his interactions with Sisko. If we only knew Sisko through his interactions with Picard, we'd have a far different view of him, too - a cold, bitter man who hates Picard (at first), and that would make Sisko out to be an unlikable and unsuitable Starfleet officer.