Old posts/comments with technical or insightful information are surfaced via other search engines, not via browsing, so Reddit makes virtually no money from them.
Deleting these posts and comments won’t hurt Reddit, only the people seeking information.