Can you prevent iMessage texts from being deleted?
I'm not sure if it’s what you're looking for, but there is a Message History setting that prevents messages from being auto-deleted after a certain amount of time.

You can find it in Settings -&gt; Messages -&gt; Keep Messages. Make sure it's set to Forever instead of 30 Days or 1 Year.