Issues installing Python 3.8.10 on macOS 12.3 Monterey
Apple introduced a change that resulted in its breaking. In your specific case pyenv install 3.8.13 should work. For others on different versions should check this thread Or use any of these versions 3.7.13, 3.8.13, 3.9.11 and 3.10.3