You will never eradicate passive voice from your manuscript. It exists in the English language for a reason. Sometimes we don’t know the agent (doer). Sometimes it’s inappropriate to say.
“My feelings were hurt,” is less confrontational (and more often acknowledged) than, “you hurt my feelings.”
“The pot was broken,” must suffice when you don’t know who or what the culprit is.
And so on.
On occasion, you must use passive voice. We understand. But a query should have almost none.
In a query, you know who does what to whom. Good things don’t happen on their own: the hero is the agent. Bad things don’t befall the hero: the antagonist is the evil-doer.
If your query contains a lot of passive voice, that’s a symptom of a deeper problem. Your protagonist may not have enough agency in the book. They are reacting to the plot, instead of acting within the plot and making things happen.
Trying to identify passive voice and other foibles in your writing? I recommend the Hemingway App.