I am confused with a structure giving two different meaning.ı mean I thought the structure “ be for someone to do” has two meaning in sentences below.I wrote some examples to explain what is cofused me.
The main thing we all want is for me to write a book.
In this sentence, as far as I understand it also means;
The main thing we all want is that I write a book.
But when it comes to second example I think it has different meaning although it has same structure.
All my effort was for my son to be happy.
It means
I made effort so that my son was happy.
Am i right in my thougths? Is the way to understand what it means to know beggining of the context?