Did Moses do the right thing ? I don't know. I feel so terrible about God's punishment. It's too cruel and bloody. Moses and Remises both are the suferer and bearer of misery.
I just wonder why God chose Moses not any other. Though he is Hebrew, but he raised in palace as a prince.
I can't say who is right and who is wrong. They both have their reasons and faith to do so.