I assume you wrote this somewhere where a line break was actually a line break for a single line and then copied the text over.
In this case, though, any line break is instead a double line break, since it is more accurately a new paragraph.
If you simply want to keep the space as is, deleting the additional line break in the middle is more than enough. If you want a line break to be actually only for one line, you have to use Shift + Enter for each of them.
Depending on where you wrote this, the single line break from Shift + Enter carries over.
If you wrote in google docs, while it doesn't have any visual effect with default formatting, it still carries over if you use Shift + Enter. Most other word processors that make this distinction actually show this with default formatting though, as far as I know.