“As ye sow, so shall ye reap.” (Christ Jesus)
“Do unto others as ye would have them do unto you.”
(Christ Jesus)
… are known as Cosmic laws.
… aka Karma (Hindu).
… law of cause and effect.
All of the above are mental laws of the 3D Realm.

Jesus also spoke of dimensions where these laws would be superfluous.