Our future may be more exciting than our current situation. You can leverage that to your advantage by using it as motivation to work harder.
Use each job you hold as a stepping stone towards your goal. Your current position serves a purpose, whether it is to build your resume, teach you skills, or help you save money to look for a new job.
To keep you highly motivated, set a deadline, and break your goals down into smaller, achievable tasks.