 So far from committing a sin, I would say you did the right thing. You did a meritorious thing. You honored your mother and fulfilled the commandment to honor your mother. You helped her as best you could with the tools you had available. Your intention was right. The circumstances were right.