If you have a B+, you should keep taking the class. SInce you like history, you may even be able to get the A. Even if you don’t, your transcript will show a good grade in a rigorous class. Possibly ask the teacher for extra credit? Just to make you feel better about it!