While searching for "IT," whatever that may be, you can learn valuable lessons from your struggles to improve your mindset.