The Lord said to Moses, “Come up to me on the mountain, and wait there; and I will give you the tablets of stone, with the law and the commandment, which I have written for their instruction.”
By contrast, the fruit of the Spirit is love, joy, peace, patience, kindness, generosity, faithfulness, gentleness, and self-control. There is no law against such things.