How to recover lost space after a bootcamp restore failed and APFS container failed to verify?
I reinstalled macOS. But it still didn't recover my 50GB.

So I went into disk utility, clicked on the 50GB chunk and after it was selected, I pressed delete on my keyboard and it recovered my 50GB back into the main partition.