Copy link to clipboard
Both have the same stroke size but not fitted each others
You might want to align them first.
Use the selection tool and turn on smart guides.
Grab one line by an anchor point and drag it on the anchor point of the other line you want to align it to. The smart guides will tell you when you hit.
Then select both lines and Object > Path > Join.