The word "they" has more than one meaning. One of those is for a person of indeterminate or unknown gender.
For example I can and routinely do say things like "If that person wishes to do XYZ, then they must first do ABCD"
For example I can and routinely do say things like "If that person wishes to do XYZ, then they must first do ABCD"