That is a great question! A home is very different from a car. Once a car loan is paid off, there are parts of an insurance policy that you may not need anymore due to the depreciation of a car’s value over time. But if you are lucky enough to be living mortgage-free, there is still the exact same potential for loss as there was when you had a mortgage.
In general, the cost of replacing or repairing your home can get more expensive as the cost of building materials and labor increases, and your homeowners policy will provide coverage for this. Aside from the structure of the home, you are also covering your personal property and liability; these things will always need protection.
To learn more about what homeowners insurance covers, check out this article: What Is Property and Casualty Insurance?.