This is called a wireless bridge.
There are a number of ways to accomplish it, but the easiest is to just use a couple old routers.
This guide is REALLY nice, i highly recommend DD-WRT.
https://www.cnet.com/how-to/reuse-an-old-router-to-bridge-devices-to-your-wireless-network/