I highly recommend you to go on YouTube and check out Rex Tillerson’s interview with University of Texas’ dean. It is about one hour in length.
The crux of it is, nothing lasts forever. We have all had bad bosses, but being self-aware and knowing how to navigate through a bad situation will make you stronger, and perhaps one day a better boss (if you have that opportunity). He/she will not be your boss forever - ride with it…Unless he/she punches you.