It's impolite to remove your thread contents, please don't do this.
If you discover the solution, add a reply explaining how you solved it. Other people with the same problem will find your thread via a search, and thus (if you posted the solution) they will also learn how to fix it.
In this way you contribute to the community. Removing your thread contents does not help anyone. We've all had dumb mistakes, it's not embarrassing to share them. We've all been there.
Replies
If you discover the solution, add a reply explaining how you solved it. Other people with the same problem will find your thread via a search, and thus (if you posted the solution) they will also learn how to fix it.
In this way you contribute to the community. Removing your thread contents does not help anyone. We've all had dumb mistakes, it's not embarrassing to share them. We've all been there.