If you need to create text with a border around it, you don’t have to draw lines manually, there is an option in the text type properties.
This means that it is part of the text, and if you need to relocate the text or change the content the border will automatically adjust.
Just select the text, go to the ‘Edit Type’ button and in the Type Properties dialogue box, just tick the ‘Show Border’ Parameter.
Remember: This is a TYPE property, so it will change all of the text of that type. You may need to duplicate the type!