Rising prosperity and wealth created the demand for the substitutes that saved the whales. People saved the whales by no longer needing them, and they no longer needed them because they had created more abundant, cheaper, and better alternatives.
So palm oil now highly contentious is the reason!