In order to create a seamless pattern in Photoshop open the desired image and choose Filter > Other > Offset.
Julieanne Kost's Blog Adobe Announces Updates to Photoshop 2021 (v22) and Adobe Camera Raw (v13)
How to Select Colors in Photoshop with Julieanne Kost
Julieanne Kost's Blog Four Ways to Select Layers in Photoshop