The Planet of the Apes star lived close to the retired sportsman and his family, and voiced his annoyance after swarms of paparazzi moved in on the street to get a glimpse of the Beckham brood.
The actor previously said, "Man, the Beckhams. It used to be so quiet on my road. Then David moves in with his family. Suddenly we've got paparazzi hanging out day and night... I'm not telling Beckham to take his family home. I'm just not sure why he came to America in the first place. Man, we don't want your soccer."
Wahlberg admits he felt awkward about his comments after Beckham got in touch about a work project.
He tells Britain's The Sun, "He (Beckham) wanted me to email him about something - I don't know if it was a film. I had said something, half joking, because his house is at the bottom of our hill and a lot of people hang around the area. So I said something like, 'I don't like him being here because of that.'"
However, the actor was relieved when he finally met Beckham and realised his remarks hadn't upset the star.
He adds, "I met him and some of his sons and he seems like a nice guy... I wanted to make sure he hadn't taken that (remark) personally."