"Do what you love" is advice that comes from the enormous privilege some people have to make money doing what they love. I'm one of those people, so I get it, but many, many people don't love computer programming or something else profitable.
So yes, "learn to love what you do" is much, much better advice.
I've watched people (younger than I am) struggle with being in jobs they didn't love, as if they were failing. The jobs may have been failing them, but they weren't failing the jobs.
If you're lucky--as I am, as Sam Altman is--then you can do what you love. Otherwise, you have to do what pays the bills and leaves you enough free time to pursue what you love.