Namaste HDF

Hope it is not a trivial question. I have read below mentioned statements as the crux of Srimad Bhagavat Gita many times. Is it a derived intelligence or were they uttered by Sri Krishna? Where do we find these words from Sri Krishna in S.B.G, i mean which chapter? which verse?

"Whatever happened, it happened for good.
Whatever is happening, is also happening for good.
Whatever will happen, that too will be for good.
What have you lost for which you weep?
What did you bring with you, which you have lost?
What did you produce, which has perished?
You did not bring anything when you were born.
Whatever you have taken, it is taken from Here.
Whatever you have given, it is given Here.
You came empty handed and you will go the same way.
Whatever is yours today, will be somebody else's tomorrow
And it will be some others' later.
This change is the law of the universe
And the theme behind my creation."