If you want to use an exclamation mark while writing, it means your words aren't strong enough on their own. Strengthen your sentences instead of compensating with a mark.
From David Perell:
"If you’re writing and feel the need to use an exclamation point, you subconsciously know your words aren’t vivid enough. Don’t compensate. Drop the exclamation point and rewrite the sentence."