How do I fix missing anti-aliasing in the Unity scene view and game?

Screenshot of scene view

Both the editor and the game seem to lack anti-aliasing even though quality is set to Ultra.

I chose the "3D" project template when I created the project, so I am using the build-in render pipeline.