Deleting your account won't delete your posts or comments. If you want to do this you'll have to do it manually. Once you delete your account you will not be able to go back and delete your posts or comments.
Go to Your profile and click Delete on every post.
Fill out the form and click Deactivate account
You're done. Have a hug 🤗