how long until it's spoiling them?

LT
I know she is still too little to know better. But at what point is picking her up when she whines and cries is it spoiling her, or building bad habits? It's really only at night, but I literally can't put her down for more than 10mins sometimes before she cries