Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Americans pronounce cube as KYOOB (/kjub/). You'll hear it in sentences like "The cute cube was useful for the unit review".
Record yourself saying "cube" and play it back. The mic stays on your device — nothing's uploaded.
1 syllable, 3 sounds. Explore each sound's mouth shape and how it's made.
Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Start with the tongue mid-front raised high, almost touching the roof of the mouth (but not touching). Glide into a tight lip circle as the tongue back lifts.
Press your lips together, add vocal cord vibration, then release.

The textbook way isn't wrong — it's just not how anyone actually says it.
In "cube", the "b" is not released — the articulators get into position but hold without the burst of air. Air stops but there's no release burst — the articulators hold position.