It is common for especially men to go through a midlife crisis where they get bored with what they have in their lives and seek after more pleasurable things. God wants us to stay focused on Him and not be distracted by the things of the world because He is the only one who can provide true pleasure and satisfaction.