"For other foundation can no man lay than that is laid, which is Jesus Christ". 1 Corinthians 3:11
What foundation are you trying to lay in order to have eternal life? The rich young ruler tried to make his foundation riches. He laid a foundation of money, but it fail. The Pharisees tried to lay a foundation on the Law. They thought if they kept every "jot and tittle" they would have a solid foundation spiritually. But it failed as well.
Many today are trying to lay a spiritual/eternal foundation based on the keeping of religious deeds and practices. Some are trying to lay a foundation on goodness-- if they are good enough the foundation will be strong and support them. Some are trying to build a foundation based on knowledge. They think that the more they know about the Bible and spiritual matters they will have a good foundation upon which to stand.
None of these things will work. You can't build your life, your hope or your eternal security on but one foundation-- the Lord Jesus Christ. He is the only true and sure foundation. He is the only Rock-- firm and solid-- that can support our lives and our eternity.
Have a great day. If you are trying to lay your own foundation you will surely fail and fall. You have to build on the foundation that is already laid-- Jesus Christ.