No way around it.
If you want your long term goals, you must sacrifice now via your work.
You could think to yourself: ugh, what could I be doing if only I wasn’t working right now?
You could also think to yourself: what more might I be able to do if I only focused a little harder in this moment?