Definitions of foundation
a fund established for charitable, educational, religious, research or other benevolent (=kind; helpful; generous) purposes
He pledged £27m for the National Sports Foundation, a public-private partnership set up to encourage young sports talent.
the most important facts, ideas, laws etc. that support a legal argument (especially of evidence or testimony that establishes support for other evidence given at a judicial hearing)
It is a very bad decision with no foundation in law.