There’s a difference between an “argument to Heaven” and an “argument to man.” In the former, we are showing a person how their conduct contradicts God’s word. In the latter, we are trying to dominate the other person. We want the person to accept us as an authority, rather than pointing one to accept God’s authority.
What is the goal? To gain influence or to come closer to God. Even if our “argument to Heaven” is not executed perfectly, if the conclusion of the matter brings both parties closer to God’s will, it has accomplished a righteous goal. We see this lived out in the tragic rebellion of recorded in Torah reading קֹרַח Korach (Korah; Numbers 16–18).