That means you can't control if an agent will like your work.
You can't control if a publisher will offer you a contract.
You can't control readers to buy your books.
In fact, other than writing a story, there's not a whole lot afterwards that you can control.
So . . .
Redirect that angst over agents and publishers, contracts and sales. Instead, put that energy into creating a new story. Another writing project. Your best project ever.
Because you can control that one, little thing that you do -- art.