Wasn't this just translated as "happily" in another sentence? Why would this now not accept "happily, he forgets the pain?" Is it actually wrong?
Does that English sentence make sense though? Could you give me a context where you'd say that?
If you can forget about something that's hurting you, be it physical or mentally - then that thing wont affect you as much.