Moving concerns

So I got divorced in September 2019, she was pregnant with our second child, they are now 2 and 4. I have ran into a conundrum and was hoping to hear peoples thoughts. I am blessed to have a strong co-parenting relationship with my ex, and last year watched the kids about 4 months total. I have recently been contemplating moving about 3 hours away in 2023. I discussed it with my ex, and she is open to letting them come and stay with me over the summer and other times throughout the year. But I still feel like I am abandoning them. Has anyone else had similar doubts? Or success having a long distance relationship with their kids? I struggle between wanting to give them a great dad who is always available but also living my own life. Thanks in advance!