Also make sure that the Object that gets the Curve Deform doesn’t have its Rotation Applied!
Curves are different than Meshes and it’s easy to get things wrong when using Meshes and Curves together like this.
And it can’t harm to re-watch; https://cgcookiecom/lessons/lesson-3-curve-modifier
Modifiy is, partially, meant as reference.