Yes. Most large publishing houses will not accept manuscripts from unrepresented authors. Having an agent doesn’t guarantee publishing. Having an agent who is experienced with contracts will also be of great benefit to you.