Changing jobs is (likely) necessary but not sufficient. For example, if OP works a front-end job at Meta and switches to a front-end job at Google, that's unlikely to make them motivated. I don't think you're "missing the point", but I do feel that your answer is very incomplete.