There’s a few threads asking the same if you search with David answering.
If you need to made a sell after buying and realising it was a bad move then do it.
Scalping is intentionally opening and closing hundreds/thousands of trades and it’s obvious a clear pattern.