That's the very thing I am talking about. Britain was the first country in which it was a massive political liability to support slavery, and the first country in which the opinions of ordinary people mobilising and campaigning against slavery actually mattered and made a difference.
You can cast this in cynical terms as self interest, but you can do that with any action by any state in history - Britain is hardly unique there.