ようが~まいが

JLPT Level: N1
Meanings

Whether or not one will do something

No matter what happens or what one does

Even if...; regardless of ...; emphatic contrast

Volitional + が

Usage

Vようが

Vまいが

VようがVまいが

Explanation
This pattern expresses a strong contrast or indifference between two possibilities: the first clause uses the volitional form of a verb (indicating intention or decision), and the second clause uses the negative volitional まい (meaning 'will not' or 'let's not'). The overall nuance is 'whether you do X or not' or 'no matter what, ...'. It is often used to assert that the speaker’s course of action or the outcome remains unaffected by the other person’s choices or by a possible situation. It can carry a slightly formal or emphatic tone and is common in written language and certain formal spoken contexts.
彼が来ようが来まいが、私たちは会議を始める。
かれがこようがこまいが、わたしたちはかいぎをはじめる。

Whether he comes or not, we’ll start the meeting.

私が協力しようが協力するまいが、結果は同じだ。
わたしがきょうりょくしようがきょうりょくするまいが、けっかはおなじだ。

Whether I cooperate or not, the result will be the same.

雨が降ろうが降るまいが、イベントは予定通り開催される。
あめがふろうがふるまいが、イベントはよていどおりかいさいされる。

Whether it rains or not, the event will be held as scheduled.

先生が反対しようが反対するまいが、宿題は出す。
せんせいがはんたいしようがはんたいするまいが、しゅくだいはだす。

Whether the teacher objects or not, I will assign homework.