Do you feel it is fair for judges to be able to increase sentences based on prior cases that did not result in convictions

Do you feel it is fair for judges to be able to increase sentences based on prior cases that did not result in convictions