Write a paragraph tell your friend that you are sorry

Hey there, I just wanted to reach out to you and say sorry. I know that I messed up and my actions hurt you. I've been reflecting on our situation and I realized that I was wrong. I know that what I did was insensitive and I am committed to making it right. Please know that I am truly sorry and I value our friendship. Let's talk about how we can move forward from this and work towards stronger communication and understanding. Again, sorry for any pain that I caused you.