Yeah, this is perfectly consistent writing man, not sure why everyone's bugging.
One Piece haterz are the worst, what can I tell ya?
Second, Oden wasn't on WB crew for years, he literally dipped him for a rival crew.
Third, Oden explicitly told his former crew he didn't want no help regarding his business in Wano.
So yes that's pretty consistent writing from Oda, WB was always shown to care a lot for his sons and wouldn't sacrifice them in a meaningless war for someone who was dead for years.
WB was a pirate not some Superman that went on saving countries and risking the lives of his sons in the process.
Try reading One Piece bro, not 2 Piece.