を vs に for this particular use case

I always thought I had a good grasp on particles, and I understand this explanation that chatgpt gave me but I don't know if it's correct. Unfortunately, I don't have anyone to learn with or ask questions, so I have no other way of verifying this information. According to chatgpt, using クループを出る would indicate leaving the group, while using に would indicate joining or entering the group. I would've used 入る, to indicate the latter, so just wanted clarification Thanks in advance

I always thought I had a good grasp on particles, and I understand this explanation that chatgpt gave me but I don't know if it's correct. Unfortunately, I don't have anyone to learn with or ask questions, so I have no other way of verifying this information. According to chatgpt, using クループを出る would indicate leaving the group, while using に would indicate joining or entering the group. I would've used 入る, to indicate the latter, so just wanted clarification Thanks in advance