That is a good question and I'd never encourage anyone to do anything like that in a disrespectful, presumptuous manner....BUT you might want to read Genesis 18:22-33
And the men turned their faces from thence, and went toward Sodom: but Abraham stood yet before the LORD. And Abraham drew near, and said, Wilt thou also destroy the righteous with the wicked? Peradventure there be fifty righteous within the city: wilt thou also destroy and not spare the place for the fifty righteous that are therein? That be far from thee to do after this manner, to slay the righteous with the wicked: and that the righteous should be as the wicked, that be far from thee: Shall not the Judge of all the earth do right? Gen 18:25
(My comments:There you have it. Abraham declared something shouldn't be done if God was righteous! And you might want to notice God wasn't put out with him for saying it. He doesn't rebuke him nor reprove him and doesn't say to him who are you a little human being questioning anything I do. No....he merely continues on with the conversation.
And the LORD said, If I find in Sodom fifty righteous within the city, then I will spare all the place for their sakes. And Abraham answered and said, Behold now, I have taken upon me to speak unto the Lord, which am but dust and ashes: (notice he didn't question God with an arrogant attitude thus the "I am but dust and ashes" next to you. You're the Almighty God but I do have sincere questions is the spirit of what he was saying) Peradventure there shall lack five of the fifty righteous: wilt thou destroy all the city for lack of five? And he said, If I find there forty and five, I will not destroy it. And he spake unto him yet again, and said, Peradventure there shall be forty found there. And he said, I will not do it for forty's sake. And he said unto him, Oh let not the Lord be angry,(again showing humility but pressing on with the question) and I will speak: Peradventure there shall thirty be found there. And he said, I will not do it, if I find thirty there. And he said, Behold now, I have taken upon me to speak unto the Lord: Peradventure there shall be twenty found there. And he said, I will not destroy it for twenty's sake. And he said, Oh let not the Lord be angry, and I will speak yet but this once: Peradventure ten shall be found there. And he said, I will not destroy it for ten's sake. And the LORD went his way, as soon as he had left communing with Abraham: and Abraham returned unto his place. Gen 18:22-33