Potential switch from fully remote position to hybrid

Hi everyone,

Just to start off with I work in a company which is in a slow-paced environment and is relatively stable. I got an offer to work for a different company (corporation), fast-paced environment and etc but the only issue is that the pay is the same compared to my WFH position. The company is only 10 minutes away from where I live and I have to be in the office twice per week. The only thing that I want to change is because I feel that I am not learning anything for the past 6 months and I am in the mid twenties where I would like to have so dynamic in my work. I also have a wife and a child, so probably if I take this corporate work, I will have to spend less time with them, but yeah. Just wanted to throw this out of my chest and to hear if someone was in same/similar situation as myself at the moment?