Rapper turned actor Mark Wahlberg says he plans to make as much money as he can over the next six years so he can retire when he hits 40.

Wahlberg, 34, says he wants to hang it up at an early age and concentrate on raising his daughter, Ella Rae, 2, with girlfriend Rhea Durham, World Entertainment News Network reported Wednesday.

"I want to work hard for the next six years, then put all the emphasis on family," he said. "I'd be disappointed if (later on) I'd have to work to provide for my family. That would be a failure."

Wahlberg said his post-40 goals include waking up "when I feel like it" attending Ella's soccer games and making sure "she has whatever she wants."

The star of "Rock Star,""Planet of the Apes" and "Boogie Nights" said his life is no different than that of an athlete.

"I won't play forever," he said. "Some don't know when to walk away, but the smart ones do."