If I delete a message from my iPhone, does it erased completely?

What I mean is, let's say I texted the wrong person and I want to get rid of it, so I delete it. Does this make the sent message delete it on the other persons text history as well? (that the other person won't be able to see it anymore).

No, the other person will still get it

It will be deleted from your phone, but the person on the other line with receive it

No… That person got the text… Lol… I've done that a few times. It sucks.