Acknowledge the actual error
The smallest part of a mistake (skipping dinner, inappropriate remarks) is a symptom of a great form of resistance. A good apology reveals a problem that means using the word "because".
So do not say "I'm sorry, I forgot about our dinner plan". Instead, say "Sorry, I forgot our dinner plan, I'm so disrespectful of canceling our plans at the last moment."