Draw a Seamless Pattern with Tiled Mode
Make a small stitched pattern that can repeat across a floor or fabric without an obvious break where one copy meets the next.
Start with one repeat, not the whole background
Create a 16 × 16 artwork. Think of this canvas as one repeat: if the finished texture is eight tiles wide, you still draw just the one tile. Put the stitches on a separate layer so you can change the background color later without redrawing the pattern.
Open Drawing and selection options and set Tiled mode to Both axes, then select Done. For a border that repeats only left to right, use X axis instead; use Y axis for a vertical strip. Zoom out enough to see the original and its neighbors.
Draw a stitch across an edge
Choose the Pencil. Start a short stitch near the right edge and keep drawing into the neighboring repeat. The part past the edge wraps onto the left side of the original tile. Do the same across the bottom edge, then place a small accent in the middle so you can tell where each repeat begins.

The neighboring copies are not separate pieces of artwork. If you edit in one, the corresponding pixels in the source tile change. If you need distinct floor pieces that you can arrange independently, use a tileset and tilemap instead.
Check both edges and the corners
At a lower zoom, look for a seam that repeats at exactly the same interval. If a line breaks at a side, zoom back in and continue the stroke across that boundary. Then inspect where four copies meet: both side seams can look correct while the corner still creates a conspicuous dot or hole.
If a stroke stops at the edge instead of wrapping, check that the right axis is enabled and that no selection is cutting the stroke short. If every tile joins cleanly but the accents form distracting stripes, adjust the motif inside the tile instead of adding new pixels at the seam.
Export and verify one tile
Export a PNG with Scale set to 1×. The result should be 16 × 16, not a large image containing all the repeats you saw in the editor. Repeat the result a few times in the destination to check the joins at the size where it will actually be used.