He's gifting the membership, as in a deed transfer where it is yours to own until the contract expires or you sell? If so, you are responsible for the dues from 2023 forward. He would have to be current on his 2022 dues in order to transfer the deed.