The military isn’t an equal opportunity employer. There are standards, medical, mental, criminal, physical these standards ensure an elite fighting force. You have no right to join the armed forces, it’s a privilege.
My own son couldn’t follow my path and join because of the meds he takes, and we both understand that decision.