Homer paid for the house by getting his father to sell his own.
https://www.reddit.com/r/TheSimpsons/comments/n06qbb/you_did...
But Homer's incapacity to pay for it was of course dwelt upon:
https://www.bing.com/videos/riverview/relatedvideo?&mid=3BEE...
(Note above hack to get around youtube's new no-ad blockers policy.)