In a frying pan with a little olive oil, sauté the onions cut into squares together with the garlic. When they are golden, add the brown sugar and cook over low heat until you see the onion caramelise.
Remove from heat and quickly add tomato paste, tomato sauce, and honey; mix until all the ingredients of the homemade barbecue sauce are integrated.