Greetings!
We appreciate your post in the Apple Support Community.
To add space from one volume to your main disk in macOS Sonoma, or to merge two partitions, you can use the Disk Utility tool. First, back up your data for safety. Then, open Disk Utility, select your drive, and choose the Partition option. You can resize partitions by adjusting the controls to shrink one and expand another. If you want to merge partitions, delete the one you no longer need and expand the main partition into the free space. Be cautious as these actions can lead to data loss if not done correctly.
> Disk Utility User Guide for Mac – Apple Support (MY)
For English speakers, we have a dedicated community right here: discussions.apple.com. Since your message is in English, we warmly invite you to join us in that community.
Thank you!