@RyderRude The "usual derivation" of the principle of least action is in turn derived from d'Alembert's principle of virtual displacements and Newton's laws (cf. e.g.
physics.stackexchange.com/a/131392/50583), and that's clearly what Arjun is asking about. If you don't know what a question is about, you don't need to pretend to.