You will not lose text message, if you back up your phone correctly and then restore from that backup. If your going to restore your phone as new and not from backup, then your text will not be there until you decide to restore from that backup.
If you don't want to lose the message, take a look in the app store to see if you can transfer to your computer.