Hello,
Thank you for your question.
Microsoft purposely prevents you from doing this. The whole concept of the Event Viewer is to present to you certain events that may require your attention. If one could go in and delete any random event, then the system could - in a sense - be compromised without you knowing, therefore making it unsafe.
If the reply was helpful, please don’t forget to upvote or accept as answer. Thanks, Prakash