I think you want this: https://www.amazon.com/Supplying-Demand-WH41X10133-Compatible-AH1021929/dp/B07VB55R9Z/ref=sr_1_5?keywords=washing+machine+drain+hose+holder&qid=1663204808&sr=8-5
I would highly not recommend modifying or cutting the drain hose unless you know what you are doing. Leave any excess length on the floor or hanging. The standpipe should look like this with something securing it in place https://maplewoodplumbing.com/wp-content/uploads/2018/05/2.jpg
There really should be much more than 6-12 inches of the drain hose into the standpipe.
I hope this helps.