This is the promise in the title of this book: verifying GA4's numbers through BigQuery with Consent Mode switched on.
First, a truth you need to know up front: the numbers will not match exactly, and they do not need to. What you need is to be able to explain the gap. The difference between telling a client "a 2 percent gap, for these three reasons" and "I don't know why" is the difference between being a professional and not.