How to get Mac to give Ethernet connection priority?
According to Apple Support:


Choose Apple menu > System Preferences, then click Network.
Click the Action pop-up menu , then choose Set Service Order.
Drag a service, such as Ethernet, to the top of the list.
Click OK, then click Apply to make the new settings active.


Full article is here.