Lattice modifier is deforming the model before editing

My Blender version is 5.2.3
I am trying to use a lattice modifier but when I set it up it just immediately breaks the mesh.
This is the object before lattice


and this is after


Both lattice and the object have applied scale to one.

Yea that has changed a bit, you used to be able to scale the lattice then apply scale in object mode.
Now it does not work.

Delete your lattice, then select your object (the tree), in the add menu under lattice choose the second option “lattice deform selected”. That will give you a lattice that is already the size (bounding box) of your object and add the modifier on the “tree” for you.

With this method you do not need to apply scale or rotation to your object, the newly created lattice will adopt the scale and rotation from the object.

Yes, this works, thank you.