Ukraine did negotiate from 2014 to 2022 (https://en.wikipedia.org/wiki/Minsk_agreements, https://en.wikipedia.org/wiki/Normandy_Format). Everyone knows what it lead to. It is now clear that, unless backed by strong security guarantees like NATO membership or non-NATO allied status, these so-called “peace initiatives” would amount to national suicide for Ukraine. This is why Ukrainians reject them.
China and Brazil do not stand for peace. They are just on the other side.