Presumably people will want to buy drugs from a dealer more than once so it wouldn't be worth ruining the relationship. Also dealers are usually connected to some sort of crime network so it's probably a risky proposition to simply steal from them outright.