If you think harder you will realize that is false. The rule of law itself has value, and we can only live in a lawful society if we respect all laws and change them via established processes. Otherwise someone may decide that your favorite law is "idiotic" and you will have no recourse.
Civil disobedience is a very "established process".
Civil disobedience does not imply impunity. You disobey the law and you face the consequences. That's how civil disobedience works. If too many people disobey the law, it eventually gets noticed.
Not only idiotic but also immoral. If you obey an immoral law you are acting in a way which strengthens that law and keeps other people under its influence. By your actions you are essentially condemning people to be affected by an immoral law - which in itself is immoral behavior.