How to use "mattered" in a sentence

Sentences

Nothing mattered

Nothing else mattered if Maxim was safe.

Only one thing mattered