Peter Flom had a great and concise answer, I just want to expand it. The most important part of the question is how to define "worse".
In order to define worse, we need to have some metrics, and the function to calculate how good or bad the fittings are called loss functions.
We can have different definitions of the loss function, and there is no right or wrong on each definition, but different definition satisfy different needs. Two well known loss functions are squared loss and absolute value loss.
Lsq(y,y^)=∑i(yi−y^i)2
Labs(y,y^)=∑i|yi−y^i|
If we use squared loss as a measure of success, quantile regression will be worse than OLS. On the other hand, if we use absolute value loss, quantile regression will be better.
Which is what Peter Folm's answer:
If you are interested in the mean, use OLS, if in the median, use quantile.