All in with next.js?

I'm pretty new to the whole framework world. I've used Astro for some smaller projects and good old plain HTML, CSS, and JS. Now there's a bigger project with the need for a CMS. I took a look at Directus and Payload - both look fantastic. Payload just came out with Version 3, which looks absolutely promising.

Now my question: Could it be a good idea to focus on one framework? I'm a huge fan of SSG, and Astro fits perfectly for that. How does Next.js compare to Astro?

Would you recommend Next.js for someone who's not a complete beginner?​​​​​​​​​​​​​​​​