# As for you
Here "you" refers to King Solomon.
# if you walk before me as David your father walked
Here walking is a metaphor for living. Walking before God represents living in obedience to him. Alternate translation: "If you obey me as David your father did" (See: [[rc://en/ta/man/translate/figs-metaphor]])
# David your father
Solomon was one of David's sons.
# keeping my statutes and my decrees
"obeying my statutes and my decrees"