Ive been through some rough patches as well, it taught me to have a side business in addition to a full time gig, best decision Ive ever made.
I took a 25% cut in pay to get the next job, but was back up to my old salary in about a year. I figured out living pay check to pay check wasn’t a good idea.