Do you want to know how to remove compare product block and Wishlist block from side bar  in Magento 2 ? Just use this code..

<referenceBlock name="catalog.compare.sidebar" remove="true" />

<referenceBlock name="wishlist_sidebar" remove="true" />