Justin Bieber gave David Beckham a good fright on The Ellen DeGeneres Show.

On Wednesday, the professional athlete sat down with Ellen to talk about his family and recent cameo on Modern Family, when Ellen cleverly transitioned the conversation into talking about David’s kids Brooklyn, Romeo, Cruz, and Harper trick-or-treating at Bieber’s house last Halloween. 

“We all follow Justin on Instagram, of course,” David said. “And we're all fans and we all love him. And it's coming to the end of our night of trick-or-treating. The kids have had far too much candy and enjoyed themselves a lot. And on the way back, Romeo turns around to me and he said, ‘Justin's…giving snow cones away….' So, I DM'ed him and he got back within, like, seconds…so we went straight ‘round there. Turned up. And, yeah, we all got snow cones.”

After finishing the story, Bieber unexpectedly jumped out of the coffee table and screamed, which shocked Beckham. The pair hugged and Bieber apologized for scaring him. “Sorry, they wanted me to do that. I gotta go,” he said, and ran off stage.

While laughing, Beckam told Ellen, “Oh man, I really didn't think that was gonna happen.”

Beckham then talked about how Bieber is a great person. “Do you know what?” he said. “I know you all love him, but he's the most amazing human being. He really is. He really is. For someone to achieve what he has achieved and still be an amazing person and to be doing what he's doing…”

He added, “You know, I always gauge it off of how people are to kids—and to my kids—and he has been so kind to my kids over the years. It's, you know, it's great to see him. Great to see him back.”

During the episode, Ellen and Bieber played a round of the game Burning Questions, where they discussed what the singer did for his wife Hailey Bieber’s 26th birthday, what part of his body he loves the most and more.

Usher also appeared during the episode to play the game Spill the Tea with Bieber and some audience members, and Usher sat down with Ellen to discuss new music and his upcoming film Burden.