How to stay motivated always in life

What is the purpose of motivation? First, it could be to achieve something in your life or could be to live your life as you wish and in reality, it’s infinite.