How to use "whenever" in a sentence

Sentences

If a minority in such case will secede rather than acquiesce, they make a precedent which in turn will divide and ruin them; for a minority of their own will secede from them whenever a majority refuses to be controlled by such minority

But whenever she thought about lying in a pod for months, her stomach seemed to turn over and over - in spite of what she'd told Cham.

A loose windowpane in the living room rattled slightly whenever a strong gust of wind struck it