WHAT WOULD THAT BE MR. SMARTYPANTS? (one might say in response).
Well, just like with God, a relationship or marriage should be handled the same way. And you mentioned part of it.
Concentrate on what you give, not what you get. Give Thanks for what you receive. Give love, always, without prejudice.
It is all in the bible. Problem is understanding it. Each person's interpretation is, (and should be) different and unique, because it was written to provoke ,mostly, self-understanding.
But the BASICS are there, in black and white, and easily understood by all. Practiced by all? Obviously not.