Here’s how you can turn off the auto-typing of periods after hitting space twice in macOS Ventura.
• Go to the Apple menu and choose "System Settings"
• Scroll down in the list and choose "Keyboard"
• Look for the Text Input section for "Input Sources", and click the "Edit" button next to that
• Locate the switch for "Add period with double-space" and toggle that off
• Click "Done"
Now when you hit the space bar twice, the Mac will no longer automatically type a period.