Preheat oven to 350°F (175°C). Line a baking sheet with foil or parchment. Place a pan of water on the lowest rack.
Heat oil in a skillet over medium heat. Add onions and cook for 6–8 minutes until softened. Stir in garlic for the last 30 seconds. Remove and let cool.
In a small bowl, combine fresh breadcrumbs, eggs, beef broth, and Worcestershire sauce. Let soak for 5 minutes.
Mix ketchup, brown sugar, and black pepper in a small bowl to make the glaze. Set aside.
In a large bowl, add ground beef, seasonings, onion-garlic mixture, and soaked breadcrumbs. Gently mix with your hands until just combined.
Transfer mixture to the prepared baking sheet and form into a loaf. Spoon half of the glaze on top.
Bake for 45–60 minutes, until the internal temperature reaches 165°F (74°C).
Brush the remaining glaze on top, let rest for 10 minutes, then slice and serve.