Although "advantage" and "benefit" can mean the same thing, the two expressions you quote have different implications. If someone does something good, we say it's to his benefit that he did that thing. We mean that it makes him appear to be a good person .
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.