It's an expected behavior. We all make mistakes. And sometimes you send the wrong message, or perhaps to the wrong person. So it helps to be able to edit or atleast delete the message.