This. I took breaks of 3-6 months in-between jobs to explore, learn and grow and it always led me to better opportunities, skill acquisition and moving to a better more stable life.
This essay is kind of radical but outlines a few amazing points of unstructured work time: https://www.palladiummag.com/2022/01/06/quit-your-job/